File tree Expand file tree Collapse file tree 1 file changed +11
-8
lines changed Expand file tree Collapse file tree 1 file changed +11
-8
lines changed Original file line number Diff line number Diff line change 1- .PHONY : audit build lint lintfix fmt fmt-check run test test-verbose test-coverage
2-
3- check : lint
4- go fmt ./...
5- go vet ./...
6-
71build :
82 go build -o bin cmd/launcher/main.go
93 @echo " Binary built at: $( shell pwd) /bin/main"
104
11- lint :
12- golangci-lint run
5+ check : lint
6+ go fmt ./...
7+ go vet ./...
138
149lintfix :
1510 golangci-lint run --fix
@@ -23,9 +18,15 @@ fmt-check:
2318 exit 1; \
2419 fi
2520
21+ lint :
22+ golangci-lint run
23+
2624run : build
2725 ./bin/main javascript
2826
27+ run-all : build
28+ ./bin/main javascript python
29+
2930test :
3031 go test -race ./...
3132
@@ -36,3 +37,5 @@ test-coverage:
3637 go test -race -coverprofile=coverage.out ./...
3738 go tool cover -html=coverage.out -o coverage.html
3839 open coverage.html
40+
41+ .PHONY : build check lint lintfix fmt fmt-check run run-all test test-verbose test-coverage
You can’t perform that action at this time.
0 commit comments