diff options
| -rw-r--r-- | .build.yml | 18 | ||||
| -rwxr-xr-x | barf | 13 |
2 files changed, 8 insertions, 23 deletions
@@ -1,22 +1,16 @@ -image: openbsd/latest +image: alpine/latest oauth: pages.sr.ht/PAGES:RW packages: -- coreutils-- -- gsed-- -- cmake-- -- gcc-- -- lowdown-- -- go-- +- coreutils +- rsync +- lowdown +- go +- hut environment: site: bt.srht.site sources: - https://git.sr.ht/~bt/btxx.org tasks: -- install-hut: | - git clone https://git.sr.ht/~xenrox/hut - cd hut - make - doas make install - build: | cd btxx.org make build @@ -2,17 +2,8 @@ domain="https://btxx.org" -# Check the operating system -os_name=$(uname -s) - -if [ "$os_name" = "OpenBSD" ]; then - alias sed=gsed - alias date=gdate - alias rsync=openrsync -elif [ "$os_name" = "Darwin" ]; then - alias sed=gsed - alias date=gdate -fi +alias sed=gsed +alias date=gdate set -eu MARKDOWN=lowdown |
