File tree 1 file changed +8
-2
lines changed
1 file changed +8
-2
lines changed Original file line number Diff line number Diff line change 1
- .PHONY : build test clean changelog tools help
1
+ .PHONY : build test clean changelog tools help docker generate
2
2
3
3
S3HUB = s3hub
4
4
VERSION = $(shell git describe --tags --abbrev=0)
@@ -20,7 +20,7 @@ build: ## Build binary
20
20
clean : # # Clean project
21
21
-rm -rf $(S3HUB ) cover.out cover.html
22
22
23
- test : # # Start test
23
+ test : # # Start unit test
24
24
env GOOS=$(GOOS ) $(GO_TEST ) -cover $(GO_PKGROOT ) -coverprofile=cover.out
25
25
$(GO_TOOL ) cover -html=cover.out -o cover.html
26
26
@@ -32,6 +32,12 @@ tools: ## Install dependency tools
32
32
$(GO_INSTALL ) github.com/nao1215/hottest@latest
33
33
$(GO_INSTALL ) github.com/google/wire/cmd/wire@latest
34
34
35
+ generate : # # Generate code from templates
36
+ $(GO ) generate ./...
37
+
38
+ docker : # # Start docker (localstack)
39
+ docker compose up -d
40
+
35
41
.DEFAULT_GOAL := help
36
42
help :
37
43
@grep -E ' ^[0-9a-zA-Z_-]+[[:blank:]]*:.*?## .*$$' $(MAKEFILE_LIST ) | sort \
You can’t perform that action at this time.
0 commit comments