Update readme and add builds
This commit is contained in:
parent
f8e149cbb0
commit
32fb0f300c
|
@ -0,0 +1,27 @@
|
||||||
|
datetime := `date +%Y-%m-%d_%H%M%S_%Z`
|
||||||
|
tmp := `mktemp -d`
|
||||||
|
|
||||||
|
default: guitar piano
|
||||||
|
|
||||||
|
guitar: dirs
|
||||||
|
fd '.cho' -t f -x chordpro -o ~/Documents/Music/{.}.pdf {}
|
||||||
|
|
||||||
|
piano: dirs
|
||||||
|
fd '.ly' -t f -x lilypond -o ~/Documents/Music/{.} {}
|
||||||
|
|
||||||
|
dirs:
|
||||||
|
fd . -t d -x mkdir -p ~/Documents/Music/{}
|
||||||
|
|
||||||
|
release: default
|
||||||
|
tar -C ~/Documents/Music -cf {{tmp}}/music.tar Guitar
|
||||||
|
tar -C ~/Documents/Music -rf {{tmp}}/music.tar Piano
|
||||||
|
gzip {{tmp}}/music.tar
|
||||||
|
ssh-keygen -Y sign -f ~/.ssh/yk-stationary -n file {{tmp}}/music.tar.gz
|
||||||
|
cd {{tmp}} && sha256sum music.tar.gz > music.tar.gz.sha256 && cd -
|
||||||
|
cd ~/Documents/Music && zip -r {{tmp}}/music.zip Guitar Piano && cd -
|
||||||
|
ssh-keygen -Y sign -f ~/.ssh/yk-stationary -n file {{tmp}}/music.zip
|
||||||
|
cd {{tmp}} && sha256sum music.zip > music.zip.sha256 && cd -
|
||||||
|
git tag -s -m {{datetime}} {{datetime}}
|
||||||
|
git push --tags
|
||||||
|
tea r create -a {{tmp}}/music.tar.gz -a {{tmp}}/music.tar.gz.sig -a {{tmp}}/music.tar.gz.sha256 -a {{tmp}}/music.zip -a {{tmp}}/music.zip.sig -a {{tmp}}/music.zip.sha256 --tag {{datetime}} -t {{datetime}}
|
||||||
|
rm -rf {{tmp}}
|
|
@ -1,8 +1,8 @@
|
||||||
* Music
|
* Music
|
||||||
|
|
||||||
This is just a repository of music I've transcribed and arranged (maybe
|
This is just a repository of music I've transcribed and arranged (maybe even
|
||||||
even written 👀) over the years. PDFs are not included so you'll have
|
written 👀) over the years. Download archives containing PDFs of everything from
|
||||||
to read on if you want to use any of the files here
|
the [[https://git.nixnet.services/Amolith/music/releases][releases]] page.
|
||||||
|
|
||||||
* ~.cho~
|
* ~.cho~
|
||||||
These are [[https://www.chordpro.org/][ChordPro]] files and must be "compiled" with the ~chordpro~
|
These are [[https://www.chordpro.org/][ChordPro]] files and must be "compiled" with the ~chordpro~
|
||||||
|
|
Loading…
Reference in New Issue