Adds an sr.ht buildfile. These never work first time out. *** Tweak build file
1 files changed, 13 insertions(+), 0 deletions(-) A => build.yml
A => build.yml +13 -0
@@ 0,0 1,13 @@ +image: archlinux +packages: + - go + - gtk2 + - gdk-pixbuf2 + - glib2 +sources: + - https://hg.sr.ht/~ser/gocryptfs +tasks: + build: | + T=$(hg log -r "." --template "{latesttag}\n") + [[ $T == "" ]] && T=$(hg bookmark -l . --template '{bookmarks}-{node|short}\n') + go build -ldflags="-X main.Version=$T -s -w" .