1
1
mirror of https://github.com/cooperspencer/gickup synced 2024-11-08 12:09:18 +01:00
gickup/justfile
2022-10-17 12:08:04 +02:00

20 lines
260 B
Makefile

lasttag := ```
git describe --tags `git rev-list --tags --max-count=1`
```
build:
go build .
release:
git checkout {{lasttag}}
go build -ldflags '-X "main.version={{lasttag}}"'
cleanup:
go mod tidy
gofmt -s -w .
update:
go get -u
pull:
git pull