Skip to content

Commit 7491c2c

Browse files
author
Hiroki Konishi
committed
Update: makefile
1 parent e412598 commit 7491c2c

File tree

1 file changed

+10
-8
lines changed

1 file changed

+10
-8
lines changed

Makefile

Lines changed: 10 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -10,22 +10,24 @@ statik: ./shell/pmy.zsh
1010
# Make statik files
1111
statik -src=./_shell
1212

13-
.PHONY: clean
14-
clean:
15-
rm -f ./anypm
16-
1713
.PHONY: bench
1814
bench:
1915
go test -run=XXX -bench=.
2016

21-
.PHONY: lint
22-
lint:
23-
golangci-lint run ./...
24-
2517
.PHONY: docker
2618
docker:
2719
docker build -t relastle/pmy:0.1.0 -f docker/Dockerfile .
2820

21+
.PHONY: test
22+
test:
23+
$(MAKE) lint
24+
$(MAKE) integration_test
25+
2926
.PHONY: integration_test
3027
integration_test:
3128
(cd ./integration_test && go test -run .)
29+
30+
.PHONY: lint
31+
lint:
32+
golangci-lint run ./...
33+

0 commit comments

Comments
 (0)