Makefile: correct errors

This commit is contained in:
Unknwon 2017-07-14 16:48:55 -04:00
parent b18a2bdcd3
commit 3a6623104f
No known key found for this signature in database
GPG Key ID: 25B575AE3213B2B3
2 changed files with 4 additions and 2 deletions

View File

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

View File

@ -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)'