mirror of
https://github.com/nbd-wtf/satdress.git
synced 2024-11-11 16:30:35 +00:00
8 lines
351 B
Makefile
8 lines
351 B
Makefile
satdress: $(shell find . -name "*.go")
|
|
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'
|