Update Makefile
This commit is contained in:
parent
e758a8e8fc
commit
a05a92736c
1 changed files with 8 additions and 7 deletions
15
Makefile
15
Makefile
|
@ -39,7 +39,7 @@ kill:
|
||||||
.PHONY: convey
|
.PHONY: convey
|
||||||
convey:
|
convey:
|
||||||
@echo "Run 'go get -u -v github.com/smartystreets/goconvey'"
|
@echo "Run 'go get -u -v github.com/smartystreets/goconvey'"
|
||||||
goconvey -packages 5 -port 5000 -poll 1s -excludedDirs 'build,dev,docs,gui,vendor'
|
goconvey -packages 5 -port 5000 -poll 1s -excludedDirs 'build,dev,doc,gui,vendor'
|
||||||
|
|
||||||
# The `make glide` command ensures that
|
# The `make glide` command ensures that
|
||||||
# all imported dependencies are synced
|
# all imported dependencies are synced
|
||||||
|
@ -47,8 +47,8 @@ convey:
|
||||||
|
|
||||||
.PHONY: glide
|
.PHONY: glide
|
||||||
glide:
|
glide:
|
||||||
glide update
|
glide install
|
||||||
|
|
||||||
# The `make test` command runs all
|
# The `make test` command runs all
|
||||||
# tests, found within all sub-folders
|
# tests, found within all sub-folders
|
||||||
# in the project folder.
|
# in the project folder.
|
||||||
|
@ -75,7 +75,7 @@ clean:
|
||||||
|
|
||||||
.PHONY: quick
|
.PHONY: quick
|
||||||
quick: LDF += $(shell GOPATH=${GOPATH} build/flags.sh)
|
quick: LDF += $(shell GOPATH=${GOPATH} build/flags.sh)
|
||||||
quick:
|
quick:
|
||||||
CGO_ENABLED=0 $(GO) build
|
CGO_ENABLED=0 $(GO) build
|
||||||
|
|
||||||
# The `make build` command compiles
|
# The `make build` command compiles
|
||||||
|
@ -105,9 +105,10 @@ install:
|
||||||
# the build files in the app folder.
|
# the build files in the app folder.
|
||||||
|
|
||||||
.PHONY: ember
|
.PHONY: ember
|
||||||
ember:
|
ember:
|
||||||
npm install -g bower
|
npm install -g bower
|
||||||
npm install -g ember-cli
|
npm install -g ember-cli
|
||||||
cd gui && npm cache clean && bower cache clean
|
cd gui && npm cache clean
|
||||||
|
cd gui && bower cache clean
|
||||||
cd gui && npm install && bower install
|
cd gui && npm install && bower install
|
||||||
cd gui && ember build -prod -o ../app/
|
cd gui && ember build -prod -o ../app/
|
||||||
|
|
Loading…
Reference in a new issue