surtur
d2b5afe907
All checks were successful
continuous-integration/drone/push Build is passing
...mainly due to arbitrarily failing ci builds, as this doesn't appear to affect local builds/nix builds on remote builders, just fresh builds in the ci. the explanation for why this is happening might be that certain package VCS's don't allow many/frequent connections from IP ranges other than GOPROXY's (Google's). that is sheer speculation, though. however, it is still true that there are "no" failed ci builds with GOPROXY env var set to its default value (left untouched), which does indeed indicate that the above mentioned might be the root cause of the issue after all. this commit reverts: * |
||
---|---|---|
cmd | ||
patches/diamondburned/go | ||
xkcdreader | ||
.drone.starlark | ||
.envrc | ||
.example.vimrc | ||
.gitattributes | ||
.gitignore | ||
.golangci.yml | ||
.pre-commit-config.yaml | ||
check-fmt | ||
default.nix | ||
flake.lock | ||
flake.nix | ||
go.mod | ||
go.sum | ||
LICENSE | ||
main_test.go | ||
main.go | ||
overlay.nix | ||
README.md | ||
shell.nix |
go-xkcdreader
an offline-capable xkcd webcomic reader written in Go
disclaimer
WIP 🚧
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
installed and optionally the flake functionality enabled, the Go toolchain and a minimal set of Go development goodies will get pulled in automatically. you might want to speed up the builds by making use of project's build cache:cachix use go-xkcdreader
.
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 using nix (without flakes)
for compatibility with non-flake-enabled systems, this project uses
github:edolstra/flake-compat
.
run nix-shell
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 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
Licensed under GPL-3.0-or-later (see LICENSE for details).