1
0
forked from x/ContextOS
This commit is contained in:
shaoying 2021-01-05 20:05:08 +08:00
parent f5d460b108
commit 2e667bb9a8
2 changed files with 4 additions and 12 deletions

13
.gitignore vendored
View File

@ -1,16 +1,7 @@
.*
*.swp
*.swo
*.log
src/version.go
etc/local.shy
bin/
pkg/
var/
usr/
trash/
local.sh
local.shy
github.com
etc/work.sh
.DS_Store

View File

@ -4,7 +4,8 @@ export CGO_ENABLED=0
all:
@echo && date
go build -v -o bin/ice.bin src/main.go && chmod u+x bin/ice.bin && ./bin/ice.sh restart
[ -f src/version.go ] || echo "package main" > src/version.go
go build -v -o bin/ice.bin src/main.go src/version.go && chmod u+x bin/ice.bin && ./bin/ice.sh restart
relay: src/relay.go
@echo && date