Skip to content

Commit

Permalink
Fix submodules script
Browse files Browse the repository at this point in the history
  • Loading branch information
Electroid committed Aug 7, 2024
1 parent 76a3dc2 commit d74a192
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 11 deletions.
1 change: 1 addition & 0 deletions .buildkite/scripts/env.sh
Original file line number Diff line number Diff line change
Expand Up @@ -111,6 +111,7 @@ function export_environment() {
rm -rf "$ZIG_LOCAL_CACHE_DIR"
rm -rf "$ZIG_GLOBAL_CACHE_DIR"
rm -rf "$BUN_DEPS_CACHE_DIR"
mkdir -p "$BUN_DEPS_CACHE_DIR"
export CCACHE_RECACHE="1"
fi
}
Expand Down
18 changes: 7 additions & 11 deletions scripts/all-dependencies.sh
Original file line number Diff line number Diff line change
Expand Up @@ -23,22 +23,18 @@ while getopts "f" opt; do
esac
done

if [ "$RELEASE" == "1" ]; then
FORCE=1
fi

BUILT_ANY=0
SUBMODULES=
CACHE_DIR=
CACHE=0
if [ -n "$BUN_DEPS_CACHE_DIR" ]; then
CACHE_DIR="$BUN_DEPS_CACHE_DIR"
mkdir -p "$CACHE_DIR"
CACHE=1
SUBMODULES="$(git submodule status)"
fi

mkdir -p "$BUN_DEPS_OUT_DIR"
if [ "$RELEASE" == "1" ]; then
FORCE=1
elif [ -n "$BUN_DEPS_CACHE_DIR" ]; then
CACHE_DIR="$BUN_DEPS_CACHE_DIR"
CACHE=1
SUBMODULES="$(git submodule status)"
fi

dep() {
local submodule="$1"
Expand Down

0 comments on commit d74a192

Please sign in to comment.