mirror of
https://github.com/aljazceru/njump.git
synced 2026-01-10 01:54:31 +01:00
12 lines
389 B
Makefile
12 lines
389 B
Makefile
build:
|
|
CC=$(which musl-gcc) go build -ldflags='-s -w -linkmode external -extldflags "-static"' -o ./njump
|
|
|
|
deploy: build
|
|
ssh root@turgot 'systemctl stop njump'
|
|
rsync njump turgot:njump/njump-new
|
|
ssh turgot 'mv njump/njump-new njump/njump'
|
|
ssh root@turgot 'systemctl start njump'
|
|
|
|
refresh_build:
|
|
sass static/styles.scss static/styles.css
|
|
go build -o ./tmp/main .
|