Browse Source

Makefile: correct errors

pull/4633/head
Unknwon 8 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/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"]

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

Loading…
Cancel
Save