From abee36f3796e39481ea68be8dd7106ccffc672f9 Mon Sep 17 00:00:00 2001 From: Unknown Date: Wed, 11 Sep 2013 18:41:36 -0400 Subject: [PATCH] Added auto-detect appname --- bee.json | 1 - run.go | 3 +-- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/bee.json b/bee.json index 4d39b6a..4665137 100644 --- a/bee.json +++ b/bee.json @@ -1,5 +1,4 @@ { - "watch_imports": true, "go_install": false, "watch_ext": [], "dir_structure":{ diff --git a/run.go b/run.go index b1ed41e..9f87719 100644 --- a/run.go +++ b/run.go @@ -21,6 +21,7 @@ import ( "runtime" "github.com/Unknwon/com" + "github.com/Unknwon/hv" ) var cmdRun = &Command{ @@ -66,8 +67,6 @@ func init() { var appname string var conf struct { - // Indicates whether to watch imports changes. - WatchImports bool `json:"watch_imports"` // Indicates whether execute "go install" before "go build". GoInstall bool `json:"go_install"` WatchExt []string `json:"watch_ext"`