2024-02-14 13:44:24 -06:00
|
|
|
all:
|
2024-01-29 12:51:27 -06:00
|
|
|
./guireleaser
|
2024-01-17 01:55:22 -06:00
|
|
|
|
|
|
|
stderr: build
|
2024-01-29 12:51:27 -06:00
|
|
|
echo "writing to /tmp/guireleaser.stderr"
|
|
|
|
./guireleaser >/tmp/guireleaser.stderr 2>&1
|
2024-01-15 12:43:08 -06:00
|
|
|
|
2024-01-20 16:09:15 -06:00
|
|
|
goimports:
|
|
|
|
goimports -w *.go
|
|
|
|
# // to globally reset paths:
|
|
|
|
# // gofmt -w -r "go.wit.com/gui -> go.wit.com/gui/gui" .
|
|
|
|
|
2024-01-15 12:43:08 -06:00
|
|
|
build:
|
2024-01-09 15:31:11 -06:00
|
|
|
echo "build it!"
|
2024-01-17 01:55:22 -06:00
|
|
|
-rm resources/*.so
|
2024-01-26 13:45:27 -06:00
|
|
|
cp -a ~/go/src/go.wit.com/toolkits/*.so resources/
|
2024-01-17 01:55:22 -06:00
|
|
|
go build -v -x
|
|
|
|
|
|
|
|
install:
|
2024-01-18 01:36:05 -06:00
|
|
|
rm -f ~/go/src/go.wit.com/toolkits/*.so
|
2024-01-15 08:11:08 -06:00
|
|
|
go install -v -x
|
2024-01-29 12:51:27 -06:00
|
|
|
guireleaser
|
2024-01-09 01:16:00 -06:00
|
|
|
|
2024-01-15 22:56:21 -06:00
|
|
|
check-git-clean:
|
|
|
|
@git diff-index --quiet HEAD -- || (echo "Git repository is dirty, please commit your changes first"; exit 1)
|
|
|
|
|
2024-01-09 01:16:00 -06:00
|
|
|
redomod:
|
|
|
|
rm -f go.*
|
2024-01-09 09:35:54 -06:00
|
|
|
GO111MODULE= go mod init
|
|
|
|
GO111MODULE= go mod tidy
|
2024-01-09 01:16:00 -06:00
|
|
|
|