diff options
| author | jcarr <[email protected]> | 2024-02-27 02:21:00 -0600 |
|---|---|---|
| committer | jcarr <[email protected]> | 2024-02-27 02:21:00 -0600 |
| commit | 5cc617335d449c44032907414169ea0c2e8af216 (patch) | |
| tree | 57f310fc31180635ad4ff9a145370762fd0184d5 /Makefile | |
initial start of a fyne plugin
Diffstat (limited to 'Makefile')
| -rw-r--r-- | Makefile | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..44da83c --- /dev/null +++ b/Makefile @@ -0,0 +1,22 @@ +all: plugin + ldd ../fyne.so + +plugin: + go build -v -x -buildmode=plugin -o ../fyne.so + +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 |
