소스 검색

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.
tags/v0.9.99
Adam Strzelecki 8 년 전
부모
커밋
da607c611d
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1
    1
      Makefile

+ 1
- 1
Makefile 파일 보기

@@ -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 .

Loading…
취소
저장