Skip to content

Commit

Permalink
Upload makefile
Browse files Browse the repository at this point in the history
  • Loading branch information
dimkauzh committed Dec 14, 2023
1 parent a137ede commit c31bf07
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 1 deletion.
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ cmake_install.cmake
bin/
build/
.DS_Store
Makefile
CMakeFiles/
.vscode/
**.a
Expand Down
22 changes: 22 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit c31bf07

Please sign in to comment.