aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUnknwon <u@gogs.io>2017-07-14 16:48:55 -0400
committerUnknwon <u@gogs.io>2017-07-14 16:48:55 -0400
commit3a6623104f7725905e2b14582579abea1590cec3 (patch)
tree16bf63998efa3eb3b0e65de3dd942027fab0f8be
parentb18a2bdcd35b6c55678b5e005fa57197eb7d4016 (diff)
Makefile: correct errors
-rw-r--r--.bra.toml4
-rw-r--r--Makefile2
2 files changed, 4 insertions, 2 deletions
diff --git a/.bra.toml b/.bra.toml
index 83205fc6..c4475110 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 760f4e60..74eb69ca 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)'