mirror of
https://github.com/mudler/luet.git
synced 2025-09-19 17:54:29 +00:00
Update Makefile to run ginkgo directly
This commit is contained in:
committed by
GitHub
parent
1712988ecc
commit
39208f7e59
9
Makefile
9
Makefile
@@ -17,10 +17,7 @@ fmt:
|
|||||||
|
|
||||||
.PHONY: test
|
.PHONY: test
|
||||||
test:
|
test:
|
||||||
go get github.com/onsi/ginkgo/v2
|
go run github.com/onsi/ginkgo/v2/ginkgo -r --flake-attempts=3 ./...
|
||||||
go install github.com/onsi/ginkgo/v2/ginkgo
|
|
||||||
go get github.com/onsi/gomega/...
|
|
||||||
ginkgo -r --flake-attempts=3 ./...
|
|
||||||
|
|
||||||
.PHONY: test-integration
|
.PHONY: test-integration
|
||||||
test-integration:
|
test-integration:
|
||||||
@@ -28,7 +25,7 @@ test-integration:
|
|||||||
|
|
||||||
.PHONY: coverage
|
.PHONY: coverage
|
||||||
coverage:
|
coverage:
|
||||||
ginkgo --flake-attempts=3 --fail-fast -cover -covermode=atomic -coverprofile=coverage.txt -r .
|
go run github.com/onsi/ginkgo/v2/ginkgo --flake-attempts=3 --fail-fast -cover -covermode=atomic -coverprofile=coverage.txt -r .
|
||||||
|
|
||||||
.PHONY: help
|
.PHONY: help
|
||||||
help:
|
help:
|
||||||
@@ -50,8 +47,6 @@ deps:
|
|||||||
# Installing dependencies...
|
# Installing dependencies...
|
||||||
go get golang.org/x/lint/golint
|
go get golang.org/x/lint/golint
|
||||||
go get github.com/mitchellh/gox
|
go get github.com/mitchellh/gox
|
||||||
go get github.com/onsi/ginkgo/ginkgo
|
|
||||||
go get github.com/onsi/gomega/...
|
|
||||||
|
|
||||||
.PHONY: build
|
.PHONY: build
|
||||||
build:
|
build:
|
||||||
|
Reference in New Issue
Block a user