diff --git a/.gitignore b/.gitignore index 07e59ec..17b7c43 100644 --- a/.gitignore +++ b/.gitignore @@ -4,7 +4,6 @@ cmake_install.cmake bin/ build/ .DS_Store -Makefile CMakeFiles/ .vscode/ **.a diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..e847b21 --- /dev/null +++ b/Makefile @@ -0,0 +1,22 @@ +VERSION = none +MESSAGE = Release version $(VERSION) + +.PHONY: release proxy-release + +release: + git add . + git commit -m "$(MESSAGE)" + git tag $(VERSION) + git push origin $(VERSION) + make proxy-release + +proxy-release: + GOPROXY=proxy.golang.org go list -m github.com/dimkauzh/vuelto@$(VERSION) + +ci_check: + go build -o bin/test/test test/test1/test.go + + go build -o bin/examples/basic-window examples/basic-window/main.go + go build -o bin/examples/rectangle examples/rectangle/main.go + go build -o bin/examples/images examples/images/main.go + go build -o bin/examples/two-windows examples/two-windows/main.go