-
-
Notifications
You must be signed in to change notification settings - Fork 39
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
evaluate equality on clone - do not sort original - fixes #84
- Loading branch information
Showing
3 changed files
with
68 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,8 +6,12 @@ fmt: | |
tidy: | ||
go mod tidy | ||
|
||
generate: deepcopy-gen | ||
touch ./tmp/deepcopy-gen-boilerplate.go.txt | ||
deepcopy-gen -h ./tmp/deepcopy-gen-boilerplate.go.txt -i ./pkg/types | ||
|
||
# Run tests | ||
test: test-ci fmt | ||
test: generate test-ci fmt | ||
|
||
# Run ci tests | ||
test-ci: mocks tidy | ||
|
@@ -35,6 +39,11 @@ ifeq (, $(shell which mockgen)) | |
$(shell go install github.com/golang/mock/[email protected]) | ||
endif | ||
|
||
deepcopy-gen: | ||
ifeq (, $(shell which deepcopy-gen)) | ||
$(shell go install k8s.io/code-generator/cmd/deepcopy-gen@latest) | ||
endif | ||
|
||
start-replica: | ||
podman run --pull always --rm -it -p 9090:80 -p 9091:3000 adguard/adguardhome | ||
|
||
|
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters