mirror of
https://github.com/jimeh/ozu.io.git
synced 2026-02-19 08:06:39 +00:00
Update Makefile
This commit is contained in:
12
Makefile
12
Makefile
@@ -1,6 +1,7 @@
|
||||
DEV_DEPS = github.com/kardianos/govendor \
|
||||
github.com/vektra/mockery/.../ \
|
||||
github.com/mailru/easyjson/...
|
||||
github.com/mailru/easyjson/... \
|
||||
github.com/jteeuwen/go-bindata/...
|
||||
|
||||
test: dev-deps
|
||||
@govendor test +local +program
|
||||
@@ -8,6 +9,12 @@ test: dev-deps
|
||||
generate: dev-deps
|
||||
@govendor generate +local +program
|
||||
|
||||
generate-web:
|
||||
cd web && go generate
|
||||
|
||||
install: dev-deps
|
||||
@govendor install +local +program
|
||||
|
||||
build:
|
||||
mkdir -p bin && go build -o bin/ozuio
|
||||
|
||||
@@ -26,4 +33,5 @@ dev-deps:
|
||||
update-dev-deps:
|
||||
@$(foreach DEP,$(DEV_DEPS),go get -u $(DEP);)
|
||||
|
||||
.PHONY: test generate build run install-vendor dev-deps update-dev-deps
|
||||
.PHONY: test generate generate-web install build run install-vendor dev-deps \
|
||||
update-dev-deps
|
||||
|
||||
Reference in New Issue
Block a user