diff options
Diffstat (limited to 'publish-testbeds.sh')
| -rwxr-xr-x | publish-testbeds.sh | 26 |
1 files changed, 0 insertions, 26 deletions
diff --git a/publish-testbeds.sh b/publish-testbeds.sh deleted file mode 100755 index cf2b259..0000000 --- a/publish-testbeds.sh +++ /dev/null @@ -1,26 +0,0 @@ -#! /bin/bash - -tmp=$(mktemp -d) - -echo "$tmp" - -cp -r src "$tmp"/. -cp -r src_testbed "$tmp"/. -cp -r crates "$tmp"/. -cp -r LICENSE README.md "$tmp"/. - -### Publish the 2D version. -gsed 's#\.\./\.\./src#src#g' crates/rapier_testbed2d/Cargo.toml > "$tmp"/Cargo.toml -gsed -i 's#\.\./rapier#./crates/rapier#g' "$tmp"/Cargo.toml -currdir=$(pwd) -cd "$tmp" && cargo publish -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 - -rm -rf "$tmp" |
