9d29017860
add copyright headers+enforce w/ addlicense
continuous-integration/drone/push Build is passing
2022-05-21 00:49:13 +02:00
f099f43f05
go: move app logic to xkcdreader package
continuous-integration/drone/push Build is passing
2022-05-19 17:24:00 +02:00
ecfb129096
main: add more tests
continuous-integration/drone/push Build is passing
2022-05-13 22:41:31 +02:00
4b6e655ebf
use github.com/spf13/cobra for app cmds
...
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
c05fc6c995
app: add test for a greeting message
...
continuous-integration/drone/push Build is passing
* provide app greeting using a function
* test that the app greets properly
* run tests for nix with 'nix-shell --run'...
2022-05-07 00:31:44 +02:00