Added auto-detect appname

pull/12/head
Unknown 9 years ago
parent a655f78a4e
commit abee36f379
  1. 1
      bee.json
  2. 3
      run.go

@ -1,5 +1,4 @@
{
"watch_imports": true,
"go_install": false,
"watch_ext": [],
"dir_structure":{

@ -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"`

Loading…
Cancel
Save