This repository is meant to serve as an example of how to build and publish a Gab application.
The module containing our project is gwordle. There is only the one source file.
By changing the message gui: to tui: on line 7, you can play wordle in the terminal without launching a new os window.
gab get github.com/gab-language/gwordle@0.1.0 gwordleTo run gwordle from the command line:
gab run gwordleThis will run the default /mod.gab module of the package.
To build the standalone executable, use the gab cli:
gab build -m github.com/gab-language/cgab@gab_version gwordleThis produces an executable for your platform. You may build cross-platform using the -t flag.
There is an example Github workflow file in this repository which creates a release, builds an executable for each platform, and attaches them to the release.