justlog/Makefile

17 lines
357 B
Makefile
Raw Normal View History

2018-12-23 18:26:24 -03:00
build: get
2018-12-23 09:41:09 -03:00
swag init
2018-12-23 18:26:24 -03:00
go build
2018-12-01 13:46:24 -03:00
2018-12-23 18:26:24 -03:00
get:
go get ./...
build_prod: get
swag init
env GOOS=linux GOARCH=arm go build
deploy: build_prod
2019-01-05 12:02:05 -03:00
rsync -avzhe ssh justlog root@apollo.gempir.com:/home/justlog/
ssh root@apollo.gempir.com systemctl restart justlog.service
2018-12-01 13:46:24 -03:00
provision:
ansible-playbook -i ansible/hosts ansible/playbook.yml --ask-vault-pass ${ARGS}