readme: add instructions on how to build project

includes building using:
* nix flake functionality ('nix develop'+the go tool provided by nix)
* just the go tool
This commit is contained in:
surtur 2022-04-26 14:52:34 +02:00
parent 7d6a0158e5
commit f0462b777b
Signed by: wanderer
GPG Key ID: 19CE1EC1D9E0486D

@ -5,5 +5,30 @@
### disclaimer ### disclaimer
WIP :construction: WIP :construction:
### ad nix flake ❄
this project is provided as a **nix flake** for both convenience and
reproducibility.
and also because I wanted to play with `nix` and its flakes just a wee bit.
> *note on the nix-related steps*: make sure you have
> [`nix`](https://nixos.org/learn.html) installed and optionally the flake
> functionality enabled, the Go toolchain and a minimal set of Go development
> goodies will get pulled in automatically.
that means you can get started:
### developing using nix (flakes enabled)
run `nix develop` in the project folder *first*, then `go {run,build,fmt,...}`
about your day.
### developing without nix
> *note*: you only need to have the Go toolchain and [Fyne
> dependencies](https://developer.fyne.io/started/#prerequisites) installed for
> this.
if you don't want to use the flake provided or don't have `nix` installed, you
can use the standard `go` tool:
run `go {run,build,fmt,...}` in the project folder.
### COPYING ### COPYING
Licensed under GPL-3.0-or-later (see [LICENSE](LICENSE) for details). Licensed under GPL-3.0-or-later (see [LICENSE](LICENSE) for details).