From 4defaf8d9748457d46b9b33e9f854e8ead00ab9c Mon Sep 17 00:00:00 2001 From: Your Name Date: Sun, 1 Jun 2025 00:27:04 +1200 Subject: [PATCH] 'Generic Commit' --- buildtestpublish_all.sh | 36 ++++++++++++++++++++++++++++++++++++ dropshell-tool-install.sh | 11 ----------- publish_all.sh | 18 ------------------ 3 files changed, 36 insertions(+), 29 deletions(-) create mode 100755 buildtestpublish_all.sh delete mode 100755 dropshell-tool-install.sh delete mode 100755 publish_all.sh diff --git a/buildtestpublish_all.sh b/buildtestpublish_all.sh new file mode 100755 index 0000000..a522d87 --- /dev/null +++ b/buildtestpublish_all.sh @@ -0,0 +1,36 @@ +#!/bin/bash + +set -euo pipefail + +SCRIPT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" &> /dev/null && pwd )" + + + + + +function buildtestpublish() { + local dir="$1" + + cd "$dir" + + echo "Building $(basename "$dir")" + +} + +function buildtestpublish_all() { + PREVIOUS_DIR=$(pwd) + + # find all subdirectories in the current directory that don't begin with a dot + find "$SCRIPT_DIR" -maxdepth 1 -type d \ + -not -name ".*" \ + -not -path "$SCRIPT_DIR" \ + -print0 | while IFS= read -r -d '' dir; \ + do + + buildtestpublish "${dir}" + done + + cd "$PREVIOUS_DIR" +} + +buildtestpublish_all diff --git a/dropshell-tool-install.sh b/dropshell-tool-install.sh deleted file mode 100755 index aab31c9..0000000 --- a/dropshell-tool-install.sh +++ /dev/null @@ -1,11 +0,0 @@ -#!/bin/bash - -set -euo pipefail - - - - -echo "wheeeee!" - - - diff --git a/publish_all.sh b/publish_all.sh deleted file mode 100755 index f32c657..0000000 --- a/publish_all.sh +++ /dev/null @@ -1,18 +0,0 @@ -#!/bin/bash - -set -euo pipefail - -SCRIPT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" &> /dev/null && pwd )" - - - - -# build and publish all dropshell tools - - - - - - -# build and publish all dropshell tools -