1
0
mirror of https://github.com/nbd-wtf/satdress.git synced 2024-09-23 01:20:34 +00:00
satdress-mirror/Makefile
2021-08-28 09:13:32 -03:00

8 lines
419 B
Makefile

satdress: $(shell find . -name "*.go") $(shell find . -name "*.html") $(shell find . -name "*.css") go.mod
CC=$$(which musl-gcc) go build -ldflags='-s -w -linkmode external -extldflags "-static"' -o ./satdress
deploy: satdress
ssh root@hulsmann 'systemctl stop bitmia tinytip payaddress paymentlink'
scp satdress hulsmann:satdress/satdress
ssh root@hulsmann 'systemctl start bitmia tinytip payaddress paymentlink'