mirror of
https://github.com/writefreely/writefreely
synced 2024-11-10 19:34:19 +00:00
Get dependencies before building
This commit is contained in:
parent
6867ac07b4
commit
741292668a
1 changed files with 5 additions and 1 deletions
6
Makefile
6
Makefile
|
@ -2,11 +2,12 @@ GOCMD=go
|
|||
GOINSTALL=$(GOCMD) install
|
||||
GOBUILD=$(GOCMD) build
|
||||
GOTEST=$(GOCMD) test
|
||||
GOGET=$(GOCMD) get
|
||||
BINARY_NAME=writefreely
|
||||
|
||||
all : build
|
||||
|
||||
build:
|
||||
build: deps
|
||||
cd cmd/writefreely; $(GOBUILD)
|
||||
|
||||
test:
|
||||
|
@ -16,6 +17,9 @@ run:
|
|||
$(GOINSTALL) ./...
|
||||
$(BINARY_NAME) --debug
|
||||
|
||||
deps :
|
||||
$(GOGET) ./...
|
||||
|
||||
install :
|
||||
./keys.sh
|
||||
cd less/; $(MAKE) install $(MFLAGS)
|
||||
|
|
Loading…
Reference in a new issue