We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a5102de commit e37b79cCopy full SHA for e37b79c
.gitignore
@@ -0,0 +1,3 @@
1
+config.yaml
2
+.codegpt
3
+bin/
Makefile
@@ -0,0 +1,29 @@
+.PHONY: generate
+generate:
+ @mockery
4
+
5
+.PHONY: build
6
+build: generate
7
+ @go build -ldflags="-s -w" -o bin/cardano-validator-watcher cmd/watcher/main.go
8
9
+.PHONY: run
10
+run: generate
11
+ @go run cmd/watcher/main.go --config config.yaml
12
13
+.PHONY: tests
14
+tests:
15
+ @go test -v ./...
16
17
+.PHONY: coverage
18
+coverage:
19
+ @go test -coverprofile=coverage.out ./...
20
+ @go tool cover -html=coverage.out
21
22
+.PHONY: lint
23
+lint:
24
+ @golangci-lint run ./...
25
26
+.PHONY: clean
27
+clean:
28
+ @echo "cleaning up..."
29
+ @rm -rf *.db*
0 commit comments