Files
njump/justfile
Daniele Tonon bab0ecf038 Remove the saas compilation from justfile's build action
No needed, the css must by compiled at avery scss' update
2023-05-23 11:17:59 +02:00

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 .