tidying
Some checks failed
Dropshell Test / Build_and_Test (push) Failing after 2m52s

This commit is contained in:
Your Name 2025-05-26 23:22:38 +12:00
parent f79abd346e
commit 029823a6b4
3 changed files with 3 additions and 16 deletions

View File

@ -8,10 +8,6 @@ mkdir -p ${OUTPUT_DIR}
# Exit on error
set -e
# ensure we have latest dehydrate.
dehydrate -u
function build_native() {
local BUILDDIR=${SCRIPT_DIR}/build/native
local PREVDIR=$PWD

View File

@ -133,17 +133,6 @@ if [ -n "$SUDO_USER" ] && [ "$SUDO_USER" != "root" ]; then
fi
fi
# ----------------------------------------------------------------------------------------------------------
# DEHYDRATE
# ----------------------------------------------------------------------------------------------------------
# check if dehydrate command is installed
if ! command -v dehydrate &> /dev/null; then
curl -fsSL https://gitea.jde.nz/public/dehydrate/releases/download/latest/install.sh | bash
fi
dehydrate -u
# ----------------------------------------------------------------------------------------------------------
# COMPLETE
# ----------------------------------------------------------------------------------------------------------

View File

@ -11,9 +11,11 @@ SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
if ! command -v dehydrate &> /dev/null; then
echo "dehydrate could not be found - installing"
curl -fsSL https://gitea.jde.nz/public/dehydrate/releases/download/latest/install.sh | bash
else
# ensure we have latest dehydrate.
dehydrate -u
fi
mkdir -p "${SCRIPT_DIR}/src/autogen"
dehydrate "${SCRIPT_DIR}/agent-remote" "${SCRIPT_DIR}/src/autogen"
dehydrate "${SCRIPT_DIR}/agent-local" "${SCRIPT_DIR}/src/autogen"