Files
cpp-build-system/all_update.sh
Scott E. Graves 92e3e495ce
Some checks failed
sgraves/cpp-build-system_mac/pipeline/head There was a failure building this commit
sgraves/cpp-build-system/pipeline/head There was a failure building this commit
initial commit
2025-10-17 07:44:16 -05:00

34 lines
492 B
Bash

#!/usr/bin/env bash
CURRENT_DIR=$(realpath "$0")
CURRENT_DIR=$(dirname "${CURRENT_DIR}")
function do_update() {
pushd "../$1"
git pull
popd
./update_project.sh $1 ..
pushd "../$1"
scripts/cleanup.sh
git add .
git commit -a -m 'updated build system'
git push
popd
}
pushd "${CURRENT_DIR}"
git add .
git commit -a -m "updates"
git push
do_update dxmedia3
do_update fifthgrid
do_update gamepadx
do_update joule
do_update med
do_update repertory
do_update monitarr
popd