mirror of
https://github.com/aljazceru/njump.git
synced 2026-01-13 03:24:20 +01:00
12 lines
403 B
Makefile
12 lines
403 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 -tags=nocache -o ./tmp/main .
|