diff --git a/.bra.toml b/.bra.toml index 83205fc6e..c4475110c 100644 --- a/.bra.toml +++ b/.bra.toml @@ -8,11 +8,13 @@ watch_dirs = [ "$WORKDIR/cmd", "$WORKDIR/models", "$WORKDIR/pkg", - "$WORKDIR/routers" + "$WORKDIR/routes" ] watch_exts = [".go"] ignore_files = [".+_test.go"] build_delay = 1500 +interrupt_timout = 1 +graceful_kill = true cmds = [ ["make", "build-dev"], # TAGS=sqlite cert pam tidb ["./gogs", "web"] diff --git a/Makefile b/Makefile index 760f4e600..74eb69ca1 100644 --- a/Makefile +++ b/Makefile @@ -30,7 +30,7 @@ web: build govet: $(GOVET) gogs.go - $(GOVET) models pkg routers + $(GOVET) models pkg routes build: $(GENERATED) go install $(BUILD_FLAGS) -ldflags '$(LDFLAGS)' -tags '$(TAGS)'