|
@@ -4,7 +4,7 @@ import os
|
|
|
import subprocess
|
|
|
|
|
|
build = "go build -o ./bin/gostore ./cmd/gostore/main.go"
|
|
|
-build_dev = "go build -o " +\
|
|
|
+build_dev = "go build -race -o " +\
|
|
|
"./bin_dev/gostore_dev ./cmd/gostore/main.go"
|
|
|
|
|
|
|
|
@@ -52,6 +52,7 @@ class TBuild:
|
|
|
os.system(build)
|
|
|
os.system("strip -s ./bin/notify_service")
|
|
|
os.system("upx -f ./bin/notify_service")
|
|
|
+ os.system("cp -rf ./web ./bin")
|
|
|
|
|
|
|
|
|
class TDev:
|
|
@@ -74,7 +75,7 @@ class TDev:
|
|
|
os.system(build_dev)
|
|
|
|
|
|
os.chdir('./bin_dev')
|
|
|
- os.system('./fedor_dev')
|
|
|
+ os.system('./gostore_dev')
|
|
|
|
|
|
|
|
|
class TMod:
|