image: archlinux oauth: pages.sr.ht/PAGES:RW packages: - gcc - make - hut - clang - pandoc-cli environment: site: johnnyrichard.srht.site sources: - https://git.sr.ht/~johnnyrichard/olang tasks: - lint: | cd olang make linter - build: | cd olang make make docs-dist - check: | cd olang make check - docs-publish: | cd olang if [ "$BUILD_REASON" = "" ] then hut pages publish -d $site docs/site.tar.gz fi