Skip to content
This repository was archived by the owner on Mar 3, 2025. It is now read-only.

Commit

Permalink
Update script to depend on globstar (duckdb#1478)
Browse files Browse the repository at this point in the history
  • Loading branch information
Y-- authored and vpbs2 committed Jul 1, 2024
1 parent 8a07f0c commit cd63d71
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions scripts/build_loadable.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,11 @@ PROJECT_ROOT="$(cd $(dirname "$BASH_SOURCE[0]") && cd .. && pwd)" &> /dev/null

mkdir -p loadable_extensions
shopt -s nullglob
shopt -s globstar

FILES="build/$1/$2/**/*.duckdb_extension"
for f in $FILES
for f in `find ./build/$1/$2 -name '*.duckdb_extension'`
do
ext=`basename $f .duckdb_extension`
echo $ext
echo "Building '$ext'..."
emcc $f -sSIDE_MODULE=1 -o loadable_extensions/$ext.duckdb_extension.wasm -O3
done

Expand Down

0 comments on commit cd63d71

Please sign in to comment.