diff options
author | Adam Strzelecki <ono@java.pl> | 2015-12-01 22:16:00 +0100 |
---|---|---|
committer | Adam Strzelecki <ono@java.pl> | 2015-12-01 22:16:00 +0100 |
commit | da607c611de6fb42b88af260d36d2ff442216cd1 (patch) | |
tree | e4bd6bf7163fc5c5d139a484958aa22be41a029b /Makefile | |
parent | 2093586241e92e419b479b8a3be84aa37aa63a0a (diff) | |
download | gitea-da607c611de6fb42b88af260d36d2ff442216cd1.tar.gz gitea-da607c611de6fb42b88af260d36d2ff442216cd1.zip |
Makefile: Copy installed binary instead 2nd build
This speeds up single build/rebuild rather than install & build which compiles
everything twice, we just copy installed binary back to the project root.
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -11,7 +11,7 @@ NOW = $(shell date -u '+%Y%m%d%I%M%S') build: go install -ldflags '$(LDFLAGS)' -tags '$(TAGS)' - go build -ldflags '$(LDFLAGS)' -tags '$(TAGS)' + cp '$(GOPATH)/bin/gogs' . govet: go tool vet -composites=false -methods=false -structtags=false . |