2024-02-27 02:21:00 -06:00
|
|
|
all: plugin
|
2024-12-05 17:43:58 -06:00
|
|
|
#ldd fyne.so
|
2024-02-27 02:21:00 -06:00
|
|
|
|
|
|
|
plugin:
|
2024-12-05 17:43:58 -06:00
|
|
|
GO111MODULE=off go build -v -x -buildmode=plugin -o fyne.so
|
2024-02-27 02:21:00 -06:00
|
|
|
|
2024-12-04 03:15:35 -06:00
|
|
|
install:
|
|
|
|
go build -v -x -buildmode=plugin -o fyne.so
|
|
|
|
|
2024-12-04 02:26:58 -06:00
|
|
|
binary:
|
|
|
|
go build -v -x
|
|
|
|
|
2024-02-29 03:06:17 -06:00
|
|
|
non-plugin:
|
|
|
|
go build -v -x
|
|
|
|
./fyne
|
|
|
|
|
2024-02-27 02:21:00 -06:00
|
|
|
check-git-clean:
|
|
|
|
@git diff-index --quiet HEAD -- || (echo "Git repository is dirty, please commit your changes first"; exit 1)
|
|
|
|
|
|
|
|
# Test the README.md & doc.go file
|
|
|
|
# this runs pkgsite, the binary that does dev.go.dev
|
|
|
|
# go install golang.org/x/pkgsite/cmd/pkgsite@latest
|
|
|
|
pkgsite:
|
|
|
|
pkgsite
|
|
|
|
|
|
|
|
goimports:
|
|
|
|
goimports -w *.go
|
|
|
|
|
|
|
|
redomod:
|
|
|
|
rm -f go.*
|
|
|
|
GO111MODULE= go mod init
|
|
|
|
GO111MODULE= go mod tidy
|