This project is my journey to creating a graphical game while learning Golang
Every session, I'll add an entry in this file telling what I did and what I learned (see developpement_diary/)
sudo apt-get install golang gcc libgl1-mesa-dev xorg-dev
Also, for building releases, you need goreleaser and fyne-cross
go install github.com/fyne-io/fyne-cross@latest
For the development, you need to install Golangci-lint
Build only
make build
Build and run (useful in dev)
make buildrun
Release (using goreleaser)
git tag -a 0.0.1 -m "0.0.1 release"
goreleaser --clean
Test release (against code not tagged)
goreleaser --snapshot --clean
Note: for darwin compilation, we need fyne-cross which requires having locally the XCode SDK, especially Command_Line_Tools_for_Xcode_12.4.dmg
. Download it here. See fyne-cross documentation for more information.