forked from timescale/promscale
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
23 lines (17 loc) 路 649 Bytes
/
Copy pathMakefile
File metadata and controls
23 lines (17 loc) 路 649 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
.PHONY: build
build:
go build -o dist/promscale ./cmd/promscale
test:
go test -v -race ./...
e2e-test:
go test -v ./pkg/tests/end_to_end_tests/ -use-extension=false
go test -v ./pkg/tests/end_to_end_tests/ -use-extension=false
go test -v ./pkg/tests/end_to_end_tests/ -use-extension=false -use-timescaledb=false
go test -v ./pkg/tests/end_to_end_tests/ -use-timescale2
go test -v ./pkg/tests/end_to_end_tests/ -use-extension=false -use-timescale2
go test -v ./pkg/tests/end_to_end_tests/ -use-multinode
go-fmt:
gofmt -d .
go-lint:
golangci-lint run --skip-dirs=pkg/promql --skip-dirs=pkg/promb
all: build test e2e-test go-fmt go-lint