Commit Graph

4 Commits

Author SHA1 Message Date
surtur 9dab23ded7
go: add xkcd package
All checks were successful
continuous-integration/drone/push Build is passing
* utilise the john olheiser's neat xkcd package for comic fetching
  ref: gitea.com/jolheiser/xkcd
* add tests
* nix: bump module hash
2022-05-29 21:05:28 +02:00
surtur 4b6e655ebf
use github.com/spf13/cobra for app cmds
All checks were successful
continuous-integration/drone/push Build is passing
* add 'version' command - "go-xkcdreader version" returns a formatted
  version of the app
* test (among other things) that the version in flake.nix matches the
  version hardcoded in app's go code (cmd/version.go)
2022-05-12 15:54:16 +02:00
surtur 938f8189cb
go,flake: add a fyne window,nixGL overlay,deps,fmt
* reformat the flake
* create a fyne application, specify deps as both buildGoModule
  buildInputs and packages in devShells
* add nixGL overlay to devShells so that openGL-based apps (such as fyne
  apps) run fine for non-NixOS users
* add build/link flags
2022-05-03 20:22:43 +02:00
surtur fc9b901759
initial commit 2022-03-12 10:29:25 +01:00