mirror of
https://github.com/navidrome/navidrome.git
synced 2025-04-03 20:47:35 +03:00
Add Makefile target to start ginkgo in watch mode
This commit is contained in:
parent
3a27a2d2d2
commit
0a56fd8752
1 changed files with 5 additions and 0 deletions
5
Makefile
5
Makefile
|
@ -9,6 +9,10 @@ run: check_go_env data
|
|||
dev: check_env data
|
||||
@goreman -f Procfile.dev -b 4533 start
|
||||
|
||||
.PHONY: watch
|
||||
watch: check_go_env
|
||||
ginkgo watch -notify ./...
|
||||
|
||||
.PHONY: test
|
||||
test: check_go_env
|
||||
go test ./... -v
|
||||
|
@ -25,6 +29,7 @@ setup: Jamstash-master
|
|||
@which goconvey || (echo "Installing GoConvey" && GO111MODULE=off go get -u github.com/smartystreets/goconvey)
|
||||
@which wire || (echo "Installing Wire" && GO111MODULE=off go get -u go get github.com/google/wire/cmd/wire)
|
||||
@which goreman || (echo "Installing Goreman" && GO111MODULE=off go get -u github.com/mattn/goreman)
|
||||
@which ginkgo || (echo "Installing Ginkgo" && GO111MODULE=off go get -u github.com/onsi/ginkgo/ginkgo)
|
||||
go mod download
|
||||
@(cd ./ui && npm ci)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue