Skip to content

Commit

Permalink
Makefile: correct errors
Browse files Browse the repository at this point in the history
  • Loading branch information
unknwon committed Jul 14, 2017
1 parent b18a2bd commit 3a66231
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 3 additions & 1 deletion .bra.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"]
Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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)'
Expand Down

0 comments on commit 3a66231

Please sign in to comment.