marky

Lightweight bookmarking + plaintext archive
Log | Files | Refs | README | LICENSE

commit aa6dfb6591b32c8ed6cf8c437968d0e6d27b051d
parent 8ac19254959e7d1081562ceb96cd6414279a8a42
Author: David Eisinger <[email protected]>
Date:   Mon,  6 Oct 2025 15:20:49 -0400

Sourcehut

Diffstat:
A.build.yml | 20++++++++++++++++++++
Mcmd/marky.go | 2+-
Mgo.mod | 2+-
3 files changed, 22 insertions(+), 2 deletions(-)

diff --git a/.build.yml b/.build.yml @@ -0,0 +1,20 @@ +image: alpine/latest +packages: + - go + - make + - git +tasks: + - setup: | + echo 'cd marky' >> ~/.buildenv + - fmt: | + # Fail if any files are not formatted with gofmt -s + UNFORMATTED=$(gofmt -s -l .) + if [ -n "$UNFORMATTED" ]; then + echo "The following files are not gofmt'd:" >&2 + echo "$UNFORMATTED" >&2 + exit 1 + fi + - test: | + make test + - build: | + make build diff --git a/cmd/marky.go b/cmd/marky.go @@ -9,7 +9,7 @@ import ( "syscall" "time" - dbpkg "marky/internal" + dbpkg "git.sr.ht/~dce/marky/internal" ) func main() { diff --git a/go.mod b/go.mod @@ -1,4 +1,4 @@ -module marky +module git.sr.ht/~dce/marky go 1.24.5