diff --git a/generate-wasm-examples/generate_wasm_examples.sh b/generate-wasm-examples/generate_wasm_examples.sh index 3cc2a6a88d..f87f276da8 100755 --- a/generate-wasm-examples/generate_wasm_examples.sh +++ b/generate-wasm-examples/generate_wasm_examples.sh @@ -3,10 +3,11 @@ ./clone_bevy.sh # temporary: fetch tools from main branch -cd .. git init bevy-tools +cd bevy-tools git remote add origin https://github.com/bevyengine/bevy git pull --depth=1 origin main +cd .. rm -rf bevy/tools cp -r bevy-tools/tools bevy rm -rf bevy-tools