Skip to content

Commit c10c08f

Browse files
authored
publish f64 version of testbed (#751)
1 parent 108a2a1 commit c10c08f

File tree

1 file changed

+13
-1
lines changed

1 file changed

+13
-1
lines changed

scripts/publish-testbeds.sh

+13-1
Original file line numberDiff line numberDiff line change
@@ -24,11 +24,23 @@ currdir=$(pwd)
2424
cd "$tmp" && cargo publish $DRY_RUN
2525
cd "$currdir" || exit
2626

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

33+
### Publish the 2D f64 version.
34+
$gsed 's#\.\./\.\./src#src#g' crates/rapier_testbed2d-f64/Cargo.toml > "$tmp"/Cargo.toml
35+
$gsed -i 's#\.\./rapier#./crates/rapier#g' "$tmp"/Cargo.toml
36+
currdir=$(pwd)
37+
cd "$tmp" && cargo publish $DRY_RUN
38+
cd "$currdir" || exit
39+
40+
### Publish the 3D f64 version.
41+
$gsed 's#\.\./\.\./src#src#g' crates/rapier_testbed3d-f64/Cargo.toml > "$tmp"/Cargo.toml
42+
$gsed -i 's#\.\./rapier#./crates/rapier#g' "$tmp"/Cargo.toml
43+
cp -r LICENSE README.md "$tmp"/.
44+
cd "$tmp" && cargo publish $DRY_RUN
45+
3446
rm -rf "$tmp"

0 commit comments

Comments
 (0)