Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/test-bsd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
- ubuntu-24.04
steps:
- uses: actions/checkout@v5
- uses: vmactions/freebsd-vm@v1.2.1
- uses: vmactions/freebsd-vm@v1.2.3
with:
prepare: |
pkg update
Expand Down
16 changes: 8 additions & 8 deletions lint.do
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,14 @@
# SPDX-FileCopyrightText: 2022-2025 David Rabkin
# SPDX-License-Identifier: 0BSD
redo-ifchange \
./.github/*.yml \
./.github/workflows/*.yml \
./app/* \
./container/*/Containerfile \
./lib/* \
./*.do \
.github/*.yml \
.github/workflows/*.yml \
app/* \
container/*/Containerfile \
lib/* \
Makefile \
README.adoc
./Makefile \
./README.adoc
BSH="$(
CDPATH='' cd -- "$(dirname -- "$0" 2>&1)" 2>&1 && pwd -P 2>&1
)"/lib/base.sh || {
Expand All @@ -21,7 +21,7 @@ BSH="$(

# shellcheck disable=SC2034 # Variable appears unused.
readonly \
BASE_APP_VERSION=0.9.20250803 \
BASE_APP_VERSION=0.9.20250819 \
BASE_MIN_VERSION=0.9.20231212 \
BSH
set -- "$@" --quiet
Expand Down
6 changes: 3 additions & 3 deletions test-container.do
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# vi:et lbr noet sw=2 ts=2 tw=79 wrap
# SPDX-FileCopyrightText: 2022-2025 David Rabkin
# SPDX-License-Identifier: 0BSD
redo-ifchange app/* lib/*
redo-ifchange ./app/* ./lib/*
BSH="$(
CDPATH='' cd -- "$(dirname -- "$0" 2>&1)" 2>&1 && pwd -P 2>&1
)"/lib/base.sh || {
Expand All @@ -13,7 +13,7 @@ BSH="$(

# shellcheck disable=SC2034 # Variable appears unused.
readonly \
BASE_APP_VERSION=0.9.20250617 \
BASE_APP_VERSION=0.9.20250819 \
BASE_MIN_VERSION=0.9.20231228 \
BSH
set -- "$@" --quiet
Expand All @@ -35,7 +35,7 @@ inside "$(uname -m)" arm64 && ARM=true || ARM=false

# The build is executed silently, resulting in a container hash. Runs a
# container and automatically removes it after it stops.
for f in container/*/Containerfile; do
for f in ./container/*/Containerfile; do
[ "$ARM" = true ] && inside "$f" archlinux && {
printf >&2 'Arch Linux does not currently support ARM architecture.\n'
continue
Expand Down
8 changes: 4 additions & 4 deletions test.do
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# vi:et lbr noet sw=2 ts=2 tw=79 wrap
# SPDX-FileCopyrightText: 2022-2025 David Rabkin
# SPDX-License-Identifier: 0BSD
redo-ifchange app/* lib/*
redo-ifchange ./app/* ./lib/*
BSH="$(
CDPATH='' cd -- "$(dirname -- "$0" 2>&1)" 2>&1 && pwd -P 2>&1
)"/lib/base.sh || {
Expand All @@ -13,7 +13,7 @@ BSH="$(

# shellcheck disable=SC2034 # Variable appears unused.
readonly \
BASE_APP_VERSION=0.9.20250604 \
BASE_APP_VERSION=0.9.20250819 \
BASE_MIN_VERSION=0.9.20231228 \
BSH
set -- "$@" --quiet
Expand All @@ -23,10 +23,10 @@ set -- "$@" --quiet
for sh in ash bash dash fish ksh oksh tcsh yash zsh; do
cmd_exists "$sh" || continue
chrono_sta run || die
for ok in app/*-ok; do
for ok in ./app/*-ok; do
"$sh" -c "$ok 2>&1" || die "$ok" on "$sh" returns negative.
done
for no in app/*-no; do
for no in ./app/*-no; do
# shellcheck disable=SC2015 # A && B || C.
"$sh" -c "$no 2>&1" && die "$no" on "$sh" returns positive. || :
done
Expand Down