-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathmakefile
More file actions
34 lines (29 loc) · 789 Bytes
/
makefile
File metadata and controls
34 lines (29 loc) · 789 Bytes
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
33
34
.PHONY: default refresh test test-coverage test-docker
default: test
generate:
go generate ./...
test:
docker-compose --version
docker-compose pull --include-deps
docker-compose build --pull go
docker-compose up \
--abort-on-container-exit \
--exit-code-from=go \
--force-recreate \
--remove-orphans \
--renew-anon-volumes
docker-compose rm -f
@echo ' ____'
@echo '| _ \ __ _ ___ ___ '
@echo '| |_) / _` / __/ __|'
@echo '| __/ (_| \__ \__ \'
@echo '|_| \__,_|___/___/'
@echo ========================================
@git grep '[^.]TODO' -- '**.go' || true
@git grep FIXME -- '**.go' || true
test-coverage: test-docker
go tool cover -html=dist/coverage.txt
test-release:
git stash -u -k
goreleaser release --rm-dist --skip-publish
-git stash pop