padArchiver/build.sh
build.shRaw
1echo "starting build process"
2rm -rf build
3mkdir build
4
5cd webServer
6echo "building webServer"
7go build
8cp webServer ../build
9cp -r templates ../build
10cd ..
11
12cd listPadsImporter
13echo "building listPadsImporter"
14go build
15cp listPadsImporter ../build
16cd ..
17
18cd apiServer
19echo "building apiServer"
20go build
21cp apiServer ../build
22cd ..
23
24
25cd cli
26echo "building cli"
27go build
28cp cli ../build
29cd ..
30
31echo "build process complete, all the necessary files are in the /build directory"