add justfile

This commit is contained in:
gigirassy
2026-01-19 06:10:22 +01:00
parent 39746e8574
commit b4ba3951c8
+20
View File
@@ -0,0 +1,20 @@
binary := "energonfetch"
prefix := "/usr/bin"
default: build
build:
go build -ldflags="-s -w" -o {{binary}}
install: build
sudo cp {{binary}} {{prefix}}/{{binary}}
clean:
rm -f {{binary}}
run:
go run .
rebuild:
just clean
just build