|
@@ -9,7 +9,7 @@ mkdir -p $ROOT/tmp
|
|
rm -rf $ROOT/tmp/*
|
|
rm -rf $ROOT/tmp/*
|
|
|
|
|
|
# ----- Start build -----
|
|
# ----- Start build -----
|
|
-go build -o $ROOT/watch-daemon/watch-daemon $ROOT/
|
|
|
|
|
|
+CGO_ENABLED=0 go build -o $ROOT/watch-daemon/watch-daemon $ROOT/
|
|
|
|
|
|
cp -rf $ROOT/config $ROOT/watch-daemon/
|
|
cp -rf $ROOT/config $ROOT/watch-daemon/
|
|
# ----- End build -----
|
|
# ----- End build -----
|