-
Notifications
You must be signed in to change notification settings - Fork 8
Expand file tree
/
Copy pathmakefile
More file actions
27 lines (22 loc) · 759 Bytes
/
makefile
File metadata and controls
27 lines (22 loc) · 759 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
VERSION := $(shell cat ./version | tr -d '\n')
.PHONY: build
build:
docker build --pull -t moov/ruby-ach-demo:$(VERSION) -f Dockerfile .
docker tag moov/ruby-ach-demo:$(VERSION) moov/ruby-ach-demo:latest
run:
docker compose up -d ach
$(shell echo "")
@docker compose run demo
# From https://github.com/genuinetools/img
.PHONY: AUTHORS
AUTHORS:
@$(file >$@,# This file lists all individuals having contributed content to the repository.)
@$(file >>$@,# For how it is generated, see `make AUTHORS`.)
@echo "$(shell git log --format='\n%aN <%aE>' | LC_ALL=C.UTF-8 sort -uf)" >> $@
release: docker AUTHORS
go vet ./...
go test ./...
git tag -f $(VERSION)
release-push:
docker push moov/ruby-ach-demo:$(VERSION)
git push --tags origin $(VERSION)