~rabbits/adelie

9c135c7abccbdae01eb9fd6645abe48c07f42971 — Devine Lu Linvega 3 months ago 07ed781
Updated build manifest
1 files changed, 6 insertions(+), 5 deletions(-)

M .build.yml
M .build.yml => .build.yml +6 -5
@@ 3,19 3,20 @@ oauth: pages.sr.ht/PAGES:RW
environment:
    SITE: rabbits.srht.site/adelie
sources:
    - https://git.sr.ht/~rabbits/uxn11
    - https://git.sr.ht/~rabbits/adelie
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 adelie
        ../uxn/uxnasm src/adelie.tal ../adelie.rom
        ../uxnasm src/adelie.tal adelie.rom
    - upload: |
        tar -czf out.tar.gz adelie.rom
        tar -czf out.tar.gz adelie/adelie.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
\ No newline at end of file