From e010ef08b4fa4c5ac8123532cb50b5cb0cb58648 Mon Sep 17 00:00:00 2001 From: bt Date: Sat, 6 Jul 2024 12:43:34 -0400 Subject: revert back to alpine image for builds --- .build.yml | 18 ++++++------------ barf | 13 ++----------- 2 files changed, 8 insertions(+), 23 deletions(-) diff --git a/.build.yml b/.build.yml index 05707cf..b9bb2a3 100644 --- a/.build.yml +++ b/.build.yml @@ -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 diff --git a/barf b/barf index 5312a07..af7110d 100755 --- a/barf +++ b/barf @@ -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 -- cgit v1.2.3-70-g09d2