aboutsummaryrefslogtreecommitdiff
path: root/publish-testbeds.sh
diff options
context:
space:
mode:
authorSébastien Crozet <developer@crozet.re>2022-01-02 14:47:40 +0100
committerSébastien Crozet <developer@crozet.re>2022-01-02 16:58:36 +0100
commitf74b8401ad9ef50b8cdbf1f43a2b21f6c42b0ebc (patch)
tree53ac492fea5942a7d466f58a0095f39505674ea4 /publish-testbeds.sh
parentb45d4b5ac2b31856c15e802b31e288a58940cbf2 (diff)
downloadrapier-f74b8401ad9ef50b8cdbf1f43a2b21f6c42b0ebc.tar.gz
rapier-f74b8401ad9ef50b8cdbf1f43a2b21f6c42b0ebc.tar.bz2
rapier-f74b8401ad9ef50b8cdbf1f43a2b21f6c42b0ebc.zip
Implement multibody joints and the new solver
Diffstat (limited to 'publish-testbeds.sh')
-rwxr-xr-xpublish-testbeds.sh10
1 files changed, 5 insertions, 5 deletions
diff --git a/publish-testbeds.sh b/publish-testbeds.sh
index 2b2e068..24ef410 100755
--- a/publish-testbeds.sh
+++ b/publish-testbeds.sh
@@ -6,20 +6,20 @@ echo "$tmp"
cp -r src "$tmp"/.
cp -r src_testbed "$tmp"/.
-cp -r build "$tmp"/.
+cp -r crates "$tmp"/.
cp -r LICENSE README.md "$tmp"/.
### Publish the 2D version.
-sed 's#\.\./\.\./src#src#g' build/rapier_testbed2d/Cargo.toml > "$tmp"/Cargo.toml
-sed -i 's#\.\./rapier#./build/rapier#g' "$tmp"/Cargo.toml
+sed 's#\.\./\.\./src#src#g' crates/rapier_testbed2d/Cargo.toml > "$tmp"/Cargo.toml
+sed -i 's#\.\./rapier#./crates/rapier#g' "$tmp"/Cargo.toml
currdir=$(pwd)
cd "$tmp" && cargo publish
cd "$currdir" || exit
### Publish the 3D version.
-sed 's#\.\./\.\./src#src#g' build/rapier_testbed3d/Cargo.toml > "$tmp"/Cargo.toml
-sed -i 's#\.\./rapier#./build/rapier#g' "$tmp"/Cargo.toml
+sed 's#\.\./\.\./src#src#g' crates/rapier_testbed3d/Cargo.toml > "$tmp"/Cargo.toml
+sed -i 's#\.\./rapier#./crates/rapier#g' "$tmp"/Cargo.toml
cp -r LICENSE README.md "$tmp"/.
cd "$tmp" && cargo publish