diff options
| author | Jeff Carr <[email protected]> | 2024-02-19 08:10:21 -0600 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2024-02-19 08:10:21 -0600 |
| commit | cddced4bc8e963c9e5a2af17c8e024a52bbc3c90 (patch) | |
| tree | dd1ea79c8b7e3fd2213e6319b3ae78a06a2d0441 /Makefile | |
| parent | f4605dbbd165348362ea38b6313b0818196cc675 (diff) | |
compiles and runs. maybe it's a plugin? maybe not
Signed-off-by: Jeff Carr <[email protected]>
Diffstat (limited to 'Makefile')
| -rw-r--r-- | Makefile | 36 |
1 files changed, 22 insertions, 14 deletions
@@ -1,18 +1,26 @@ -# go get -u github.com/faiface/pixel-examples -# cd ~/go/src/github.com/faiface/pixel-examples/community/seascape-shader +all: plugin + ldd ../pixelgl.so -all: - GO111MODULE=off go build - ./seascape-shader +plugin: + GO111MODULE=off go build -v -x -buildmode=plugin -o ../pixelgl.so -push: - git pull - git add --all - -git commit -a -s - git push +standalone: + GO111MODULE=off go install -v -x + pixelgl -update: - git pull +check-git-clean: + @git diff-index --quiet HEAD -- || (echo "Git repository is dirty, please commit your changes first"; exit 1) -diff: - git diff +# 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 |
