Skip to content

Commit

Permalink
publish f64 version of testbed
Browse files Browse the repository at this point in the history
  • Loading branch information
Ughuuu committed Oct 14, 2024
1 parent 9e1113c commit 8760bcf
Showing 1 changed file with 13 additions and 1 deletion.
14 changes: 13 additions & 1 deletion scripts/publish-testbeds.sh
Original file line number Diff line number Diff line change
Expand Up @@ -24,11 +24,23 @@ currdir=$(pwd)
cd "$tmp" && cargo publish $DRY_RUN
cd "$currdir" || exit


### Publish the 3D version.
$gsed 's#\.\./\.\./src#src#g' crates/rapier_testbed3d/Cargo.toml > "$tmp"/Cargo.toml
$gsed -i 's#\.\./rapier#./crates/rapier#g' "$tmp"/Cargo.toml
cp -r LICENSE README.md "$tmp"/.
cd "$tmp" && cargo publish $DRY_RUN

### Publish the 2D f64 version.
$gsed 's#\.\./\.\./src#src#g' crates/rapier_testbed2d-f64/Cargo.toml > "$tmp"/Cargo.toml
$gsed -i 's#\.\./rapier#./crates/rapier#g' "$tmp"/Cargo.toml
currdir=$(pwd)
cd "$tmp" && cargo publish $DRY_RUN
cd "$currdir" || exit

### Publish the 3D f64 version.
$gsed 's#\.\./\.\./src#src#g' crates/rapier_testbed3d-f64/Cargo.toml > "$tmp"/Cargo.toml
$gsed -i 's#\.\./rapier#./crates/rapier#g' "$tmp"/Cargo.toml
cp -r LICENSE README.md "$tmp"/.
cd "$tmp" && cargo publish $DRY_RUN

rm -rf "$tmp"

0 comments on commit 8760bcf

Please sign in to comment.