forked from x/ContextOS
opt some
This commit is contained in:
parent
34c390f575
commit
6ef832a4fc
1
Makefile
1
Makefile
@ -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
|
||||||
|
@ -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()) }
|
||||||
|
Loading…
x
Reference in New Issue
Block a user