chore: 添加第三方依赖库
This commit is contained in:
19
thirdparty/rapier.js/builds/prepare_builds/build_all_projects.sh
vendored
Normal file
19
thirdparty/rapier.js/builds/prepare_builds/build_all_projects.sh
vendored
Normal file
@@ -0,0 +1,19 @@
|
||||
#!/bin/bash
|
||||
|
||||
for entry in builds/*
|
||||
do
|
||||
if [[ "$(basename "$entry")" == $(basename $(dirname "${BASH_SOURCE[0]}")) ]]; then
|
||||
echo "skipping directory: $entry"
|
||||
continue;
|
||||
fi
|
||||
(
|
||||
cd $entry
|
||||
echo "building $entry"
|
||||
# FIXME: ideally we'd use `npm ci`
|
||||
# but we'd need to have generated the `package-lock` beforehand and committed them in the repository.
|
||||
# I'm not sure yet how to store those `package-lock`s yet though.
|
||||
# They should proably be similar to all packages, but I'm not sure.
|
||||
npm i;
|
||||
npm run build;
|
||||
)
|
||||
done
|
||||
Reference in New Issue
Block a user