Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add helpful Makefile targets #62

Merged
merged 1 commit into from
May 9, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 18 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
@@ -1,7 +1,24 @@
.PHONY: test
all: build

.PHONY: build
build: fmt vet
go build

.PHONY: fmt
fmt:
go fmt ./main.go
go fmt ./config/*.go
go fmt ./test/...

.PHONY: vet
vet:
go vet ./main.go
go vet ./test/...

.PHONY: test
test:
ginkgo run -p --vv ./config/...

.PHONY: int-test
int-test:
ginkgo run -p --vv ./test/...
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ replace (
)

require (
github.com/HewlettPackard/dws v0.0.0-20230410193930-8fd6fbeff7f8
github.com/HewlettPackard/dws v0.0.0-20230503202417-89973dea4801
github.com/NearNodeFlash/lustre-fs-operator v0.0.0-20230426150127-b7cba32758e5
github.com/NearNodeFlash/nnf-dm v0.0.0-20221110213934-14699bac1e45
github.com/NearNodeFlash/nnf-sos v0.0.0-20230428210046-53297ed0c2ce
Expand Down
2 changes: 1 addition & 1 deletion test/suite_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -131,4 +131,4 @@ func FailHandler(message string, callerSkip ...int) {
}

Fail(message, callerSkip...)
}
}