1
0
mirror of https://shylinux.com/x/ContextOS synced 2025-04-25 16:58:06 +08:00
This commit is contained in:
harveyshao 2022-01-23 14:17:19 +08:00
parent 34c390f575
commit 6ef832a4fc
2 changed files with 2 additions and 1 deletions

View File

@ -6,6 +6,7 @@ all:
@echo && date @echo && date
[ -f src/version.go ] || echo "package main" > src/version.go [ -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 go build -v -o bin/ice.bin src/main.go src/version.go && chmod u+x bin/ice.bin && ./bin/ice.sh restart
# cp bin/ice.bin usr/publish/ice.$(shell go env GOOS).$(shell go env GOARCH)
ice: ice:
cat src/binpack.go|sed 's/package main/package ice/g' > usr/release/binpack.go cat src/binpack.go|sed 's/package main/package ice/g' > usr/release/binpack.go

View File

@ -36,4 +36,4 @@ import (
_ "shylinux.com/x/linux-story/src/qemu" _ "shylinux.com/x/linux-story/src/qemu"
) )
func main() { print(ice.Run()) } func main() { println(ice.Run()) }