mirror of
https://codeberg.org/gigirassy/energonfetch.git
synced 2026-08-30 23:37:41 +00:00
21 lines
245 B
Makefile
21 lines
245 B
Makefile
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
|