Skip to content

Commit 1847dcf

Browse files
authored
chore: Clean up Makefile (#74)
1 parent 9fa476e commit 1847dcf

File tree

1 file changed

+11
-8
lines changed

1 file changed

+11
-8
lines changed

Makefile

Lines changed: 11 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,10 @@
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-
71
build:
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

149
lintfix:
1510
golangci-lint run --fix
@@ -23,9 +18,15 @@ fmt-check:
2318
exit 1; \
2419
fi
2520

21+
lint:
22+
golangci-lint run
23+
2624
run: build
2725
./bin/main javascript
2826

27+
run-all: build
28+
./bin/main javascript python
29+
2930
test:
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

0 commit comments

Comments
 (0)