Compare commits

...

2 Commits

Author SHA1 Message Date
Devine Lu Linvega d344c92917 Updated build manifest 3 years ago
Devine Lu Linvega da14fa24ff Updated build manifest 3 years ago
  1. 11
      .build.yml

11
.build.yml

@ -3,19 +3,20 @@ oauth: pages.sr.ht/PAGES:RW
environment:
SITE: rabbits.srht.site/nasu
sources:
- https://git.sr.ht/~rabbits/uxn11
- https://git.sr.ht/~rabbits/nasu
tasks:
- prepare: |
curl -fsS https://rabbits.srht.site/uxn/uxn-lin64.tar.gz | tar -zx
- build: |
cd uxn11
cc src/uxnasm.c -o ../uxnasm
- assemble: |
cd nasu
../uxn/uxnasm src/nasu.tal ../nasu.rom
../uxnasm src/nasu.tal nasu.rom
- upload: |
tar -czf out.tar.gz nasu.rom
tar -czf out.tar.gz nasu/nasu.rom
acurl() {
set +x
curl -H "Authorization: Bearer ${OAUTH2_TOKEN}" "${@}"
set -x
}
acurl -fsS "https://pages.sr.ht/publish/${SITE}" -Fcontent=@out.tar.gz
acurl -fsS "https://pages.sr.ht/publish/${SITE}" -Fcontent=@out.tar.gz -Fprotocol=GEMINI

Loading…
Cancel
Save