forked from x/ContextOS
opt app
This commit is contained in:
parent
3e43fc5500
commit
9cd148e1d0
2
Makefile
2
Makefile
@ -12,6 +12,8 @@ ice:
|
||||
|
||||
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 convert usr/publish/tmp.dmg -format UDZO -o usr/publish/ContextsInstall.dmg
|
||||
|
||||
%: src/%.go
|
||||
@echo && date
|
||||
|
@ -16,4 +16,5 @@ ish_sys_path_insert $PWD/bin
|
||||
|
||||
ps aux |grep -v grep |grep ice.bin &>/dev/null && return
|
||||
ps aux |grep -v grep |grep tmux &>/dev/null && return
|
||||
sleep 3
|
||||
cd $CTX_ROOT && source etc/miss.sh
|
||||
|
@ -11,7 +11,7 @@ import (
|
||||
|
||||
func main() {
|
||||
os.Chdir(path.Join("/Users", os.Getenv("USER"), "contexts"))
|
||||
go ice.Run("serve", "start", "dev", "shy")
|
||||
go ice.Run("serve", "start")
|
||||
time.Sleep(time.Second)
|
||||
app.Run()
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user