-
Notifications
You must be signed in to change notification settings - Fork 19
/
Makefile
32 lines (22 loc) · 932 Bytes
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
tests:
go test -cover ./cmd/kapacitor-unit ./io ./task ./test
setup:
go get ./cmd/kapacitor-unit ./io ./task ./test
install:
go install ./cmd/kapacitor-unit
build-cmd:
go build cmd/kapacitor-unit/main.go
run:
./main
start-kapacitor:
docker-compose -f infra/docker-compose.yml up -d
sample1:
go run cmd/kapacitor-unit/main.go -dir ./sample/tick_scripts -tests ./sample/test_cases/test_case.yaml
sample1_debug:
go run cmd/kapacitor-unit/main.go -dir ./sample/tick_scripts -tests ./sample/test_cases/test_case.yaml -stderrthreshold=INFO
sample1_batch:
go run cmd/kapacitor-unit/main.go -dir ./sample/tick_scripts -tests ./sample/test_cases/test_case_batch.yaml
sample1_batch_debug:
go run cmd/kapacitor-unit/main.go -dir ./sample/tick_scripts -tests ./sample/test_cases/test_case_batch.yaml -stderrthreshold=INFO
sample_dir:
go run cmd/kapacitor-unit/main.go -dir ./sample/tick_scripts -tests ./sample/test_cases