File tree 1 file changed +13
-1
lines changed
1 file changed +13
-1
lines changed Original file line number Diff line number Diff line change @@ -24,11 +24,23 @@ currdir=$(pwd)
24
24
cd " $tmp " && cargo publish $DRY_RUN
25
25
cd " $currdir " || exit
26
26
27
-
28
27
# ## Publish the 3D version.
29
28
$gsed ' s#\.\./\.\./src#src#g' crates/rapier_testbed3d/Cargo.toml > " $tmp " /Cargo.toml
30
29
$gsed -i ' s#\.\./rapier#./crates/rapier#g' " $tmp " /Cargo.toml
31
30
cp -r LICENSE README.md " $tmp " /.
32
31
cd " $tmp " && cargo publish $DRY_RUN
33
32
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
+
34
46
rm -rf " $tmp "
You can’t perform that action at this time.
0 commit comments