update publish script

This commit is contained in:
Carter Anderson 2020-08-09 18:32:03 -07:00
parent 423c5e3e0f
commit 773b7bffa9

View File

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