Browse Source

Makefile: Add "run" phony target (for TextMate)

Required to be able to simply Cmd+R (⌘R) to run "gogs web" within TextMate 2.
pull/2120/head
Adam Strzelecki 9 years ago
parent
commit
abf8a67f9a
  1. 3
      Makefile

3
Makefile

@ -17,6 +17,9 @@ build: $(GENERATED)
go install -ldflags '$(LDFLAGS)' -tags '$(TAGS)' go install -ldflags '$(LDFLAGS)' -tags '$(TAGS)'
cp '$(GOPATH)/bin/gogs' . cp '$(GOPATH)/bin/gogs' .
run: build
./gogs web
govet: govet:
go tool vet -composites=false -methods=false -structtags=false . go tool vet -composites=false -methods=false -structtags=false .

Loading…
Cancel
Save