forked from teamgram/teamgram-server
-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.sh
executable file
·49 lines (37 loc) · 1.16 KB
/
build.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
#!/usr/bin/env bash
PWD=`pwd`
TEAMGRAMAPP=${PWD}"/app"
INSTALL=${PWD}"/teamgramd"
echo "build idgen ..."
cd ${TEAMGRAMAPP}/service/idgen/cmd/idgen
go build -o ${INSTALL}/bin/idgen
echo "build status ..."
cd ${TEAMGRAMAPP}/service/status/cmd/status
go build -o ${INSTALL}/bin/status
echo "build dfs ..."
cd ${TEAMGRAMAPP}/service/dfs/cmd/dfs
go build -o ${INSTALL}/bin/dfs
echo "build media ..."
cd ${TEAMGRAMAPP}/service/media/cmd/media
go build -o ${INSTALL}/bin/media
echo "build authsession ..."
cd ${TEAMGRAMAPP}/service/authsession/cmd/authsession
go build -o ${INSTALL}/bin/authsession
echo "build biz ..."
cd ${TEAMGRAMAPP}/service/biz/biz/cmd/biz
go build -o ${INSTALL}/bin/biz
echo "build msg ..."
cd ${TEAMGRAMAPP}/messenger/msg/cmd/msg
go build -o ${INSTALL}/bin/msg
echo "build sync ..."
cd ${TEAMGRAMAPP}/messenger/sync/cmd/sync
go build -o ${INSTALL}/bin/sync
echo "build bff ..."
cd ${TEAMGRAMAPP}/bff/bff/cmd/bff
go build -o ${INSTALL}/bin/bff
echo "build session ..."
cd ${TEAMGRAMAPP}/interface/session/cmd/session
go build -o ${INSTALL}/bin/session
echo "build gateway ..."
cd ${TEAMGRAMAPP}/interface/gateway/cmd/gateway
go build -o ${INSTALL}/bin/gateway