AspireSync/bin/prelude.bash
Chuck Adams f9b671a879
new script-based update strategy (#44)
* feat: dead simple and dead slow svn checkout scripts for plugins/themes

* feat: add scripts to check for updated plugins/themes

* tweak: split slugs on commas or whitespace instead of just commas

* tweak: replace --plugins and --themes options with --slugs and --slugs-from

* tweak: add logging config to Caddyfile

* feat: push-sync and update-sync commands

* build: bump composer versions
2025-01-28 08:27:53 -07:00

22 lines
307 B
Bash

# This file should be sourced, not run
[[ -n $TRACE ]] && [[ $TRACE != 0 ]] && set -x
set -o errexit
cd $(dirname $0)/..
base=$(pwd)
function warn {
echo "$@" >&2
}
function die() {
warn "$@"
exit 1
}
function RUN() {
[[ -n $DRY_RUN ]] && [[ $DRY_RUN != 0 ]] && _run=echo
$_run "$@"
}