Add setup step: download node dependencies

This commit is contained in:
stncrn 2020-04-29 14:29:20 +02:00 committed by Deluan Quintão
parent b453ee6598
commit bdbee7f541
1 changed files with 1 additions and 1 deletions

View File

@ -38,6 +38,7 @@ setup:
@which go-bindata || (echo "Installing BinData" && GO111MODULE=off go get -u github.com/go-bindata/go-bindata/...)
@which reflex || (echo "Installing Reflex" && GO111MODULE=off go get -u github.com/cespare/reflex)
go mod download
@(cd ./ui && npm ci)
.PHONY: setup
setup-dev: setup
@ -46,7 +47,6 @@ setup-dev: setup
@which goose || (echo "Installing Goose" && GO111MODULE=off go get -u github.com/pressly/goose/cmd/goose)
@which lefthook || (echo "Installing Lefthook" && GO111MODULE=off go get -u github.com/Arkweid/lefthook)
@lefthook install
@(cd ./ui && npm ci)
.PHONY: setup
static: