This commit is contained in:
jason-gao 2019-12-09 18:06:05 +08:00
parent c61fac453d
commit e4d9b74869
2 changed files with 6 additions and 5 deletions

View File

@ -16,6 +16,7 @@ notifications:
script:
- make init
- make build-mac
- make start-mac
- make build-linux
- ls bin
- make start-linux

View File

@ -27,19 +27,19 @@ build-all: build-mac build-linux build-win
start-linux: ;@echo "启动服务";
./bin/fileboy-linux-amd64.bin help
./bin/fileboy-linux-amd64.bin init
cat filegirl.yaml
./bin/fileboy-linux-amd64.bin version
./bin/fileboy-linux-amd64.bin
start-mac: ;@echo "启动服务";
./bin/fileboy-darwin-amd64.bin help
./bin/fileboy-darwin-amd64.bin init
cat filegirl.yaml
./bin/fileboy-darwin-amd64.bin version
./bin/fileboy-darwin-amd64.bin
start-win: ;@echo "启动服务";
./bin/fileboy-windows-amd64.exe help
./bin/fileboy-windows-amd64.exe init
cat filegirl.yaml
./bin/fileboy-windows-amd64.exe version
./bin/fileboy-windows-amd64.exe
build-start-mac: build-mac start-mac