Browse Source

Makefile: correct errors

pull/4633/head
Unknwon 7 years ago
parent
commit
3a6623104f
No known key found for this signature in database
GPG Key ID: 25B575AE3213B2B3
  1. 4
      .bra.toml
  2. 2
      Makefile

4
.bra.toml

@ -8,11 +8,13 @@ watch_dirs = [
"$WORKDIR/cmd", "$WORKDIR/cmd",
"$WORKDIR/models", "$WORKDIR/models",
"$WORKDIR/pkg", "$WORKDIR/pkg",
"$WORKDIR/routers" "$WORKDIR/routes"
] ]
watch_exts = [".go"] watch_exts = [".go"]
ignore_files = [".+_test.go"] ignore_files = [".+_test.go"]
build_delay = 1500 build_delay = 1500
interrupt_timout = 1
graceful_kill = true
cmds = [ cmds = [
["make", "build-dev"], # TAGS=sqlite cert pam tidb ["make", "build-dev"], # TAGS=sqlite cert pam tidb
["./gogs", "web"] ["./gogs", "web"]

2
Makefile

@ -30,7 +30,7 @@ web: build
govet: govet:
$(GOVET) gogs.go $(GOVET) gogs.go
$(GOVET) models pkg routers $(GOVET) models pkg routes
build: $(GENERATED) build: $(GENERATED)
go install $(BUILD_FLAGS) -ldflags '$(LDFLAGS)' -tags '$(TAGS)' go install $(BUILD_FLAGS) -ldflags '$(LDFLAGS)' -tags '$(TAGS)'

Loading…
Cancel
Save