2020-08-10 01:32:03 +00:00
|
|
|
# if crate A depends on crate B, B must come before A in this list
|
2020-08-10 00:58:56 +00:00
|
|
|
crates=(
|
2020-08-10 01:32:03 +00:00
|
|
|
bevy_derive
|
|
|
|
bevy_math
|
|
|
|
bevy_ecs/hecs/macros
|
|
|
|
bevy_ecs/hecs
|
|
|
|
bevy_ecs
|
2020-08-10 00:58:56 +00:00
|
|
|
bevy_app
|
2020-08-10 01:32:03 +00:00
|
|
|
bevy_property/bevy_property_derive
|
|
|
|
bevy_property
|
|
|
|
bevy_type_registry
|
2020-08-10 00:58:56 +00:00
|
|
|
bevy_asset
|
|
|
|
bevy_audio
|
|
|
|
bevy_core
|
|
|
|
bevy_diagnostic
|
2020-08-10 01:32:03 +00:00
|
|
|
bevy_transform
|
|
|
|
bevy_window
|
|
|
|
bevy_render
|
2020-08-10 00:58:56 +00:00
|
|
|
bevy_gltf
|
|
|
|
bevy_input
|
|
|
|
bevy_pbr
|
|
|
|
bevy_scene
|
|
|
|
bevy_sprite
|
|
|
|
bevy_text
|
|
|
|
bevy_ui
|
|
|
|
bevy_winit
|
2020-08-10 01:32:03 +00:00
|
|
|
bevy_wgpu
|
2020-08-10 00:58:56 +00:00
|
|
|
)
|
|
|
|
|
|
|
|
cd crates
|
|
|
|
for crate in "${crates[@]}"
|
|
|
|
do
|
|
|
|
echo "Publishing ${crate}"
|
2020-08-10 01:32:03 +00:00
|
|
|
(cd $crate; cargo publish)
|
|
|
|
sleep 30
|
|
|
|
done
|
|
|
|
|
|
|
|
cd ..
|
|
|
|
cargo publish
|