forked from x/ContextOS
opt some
This commit is contained in:
parent
6b38afaa80
commit
a21f42d7c5
5
Makefile
5
Makefile
@ -1,5 +1,3 @@
|
|||||||
export GOPROXY=https://goproxy.cn,direct
|
|
||||||
export GOPRIVATE=shylinux.com,github.com
|
|
||||||
export CGO_ENABLED=0
|
export CGO_ENABLED=0
|
||||||
|
|
||||||
publish_ice = usr/publish/ice.$(shell go env GOOS).$(shell go env GOARCH)
|
publish_ice = usr/publish/ice.$(shell go env GOOS).$(shell go env GOARCH)
|
||||||
@ -13,9 +11,6 @@ def:
|
|||||||
@ [ -f src/version.go ] || echo "package main" > src/version.go
|
@ [ -f src/version.go ] || echo "package main" > src/version.go
|
||||||
@ [ -f src/binpack.go ] || echo "package main" > src/binpack.go
|
@ [ -f src/binpack.go ] || echo "package main" > src/binpack.go
|
||||||
|
|
||||||
ice:
|
|
||||||
cat src/binpack.go|sed 's/package main/package ice/g' > usr/release/binpack.go
|
|
||||||
|
|
||||||
app:
|
app:
|
||||||
CGO_ENABLED=1 go build -o usr/publish/contexts.app/Contents/MacOS/contexts src/app.go src/binpack.go && open usr/publish/contexts.app
|
CGO_ENABLED=1 go build -o usr/publish/contexts.app/Contents/MacOS/contexts src/app.go src/binpack.go && open usr/publish/contexts.app
|
||||||
hdiutil create usr/publish/tmp.dmg -ov -volname "ContextsInstall" -fs HFS+ -srcfolder "usr/publish/contexts.app"
|
hdiutil create usr/publish/tmp.dmg -ov -volname "ContextsInstall" -fs HFS+ -srcfolder "usr/publish/contexts.app"
|
||||||
|
@ -8,6 +8,7 @@
|
|||||||
role white void web.wiki.draw
|
role white void web.wiki.draw
|
||||||
|
|
||||||
~web.code.input
|
~web.code.input
|
||||||
|
# wubi import file usr/wubi-dict/wubi86
|
||||||
wubi import file usr/wubi-dict/person zone person
|
wubi import file usr/wubi-dict/person zone person
|
||||||
|
|
||||||
~gdb
|
~gdb
|
||||||
|
2
go.mod
2
go.mod
@ -2,7 +2,7 @@ module shylinux.com/x/contexts
|
|||||||
|
|
||||||
go 1.11
|
go 1.11
|
||||||
|
|
||||||
require shylinux.com/x/ice v0.8.4
|
require shylinux.com/x/ice v0.8.5
|
||||||
|
|
||||||
require (
|
require (
|
||||||
shylinux.com/x/golang-story v0.3.6
|
shylinux.com/x/golang-story v0.3.6
|
||||||
|
@ -2,7 +2,7 @@ module shylinux.com/x/contexts
|
|||||||
|
|
||||||
go 1.11
|
go 1.11
|
||||||
|
|
||||||
require shylinux.com/x/ice v0.8.4
|
require shylinux.com/x/ice v0.8.5
|
||||||
|
|
||||||
require (
|
require (
|
||||||
shylinux.com/x/golang-story v0.3.6
|
shylinux.com/x/golang-story v0.3.6
|
||||||
|
Loading…
x
Reference in New Issue
Block a user