aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbt <bt@btxx.org>2024-07-06 12:43:34 -0400
committerbt <bt@btxx.org>2024-07-06 12:43:34 -0400
commite010ef08b4fa4c5ac8123532cb50b5cb0cb58648 (patch)
treec3787fcd11a713c8ee4227c9edc8a23037c51c0b
parentb4977892e64ab45bf307fe9bcbe61a57b72b40d0 (diff)
revert back to alpine image for builds
-rw-r--r--.build.yml18
-rwxr-xr-xbarf13
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