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=(
|
2023-03-06 17:19:53 +00:00
|
|
|
bevy_utils/macros
|
2020-09-19 22:29:08 +00:00
|
|
|
bevy_utils
|
2022-05-04 19:16:10 +00:00
|
|
|
bevy_ptr
|
2021-05-19 19:03:36 +00:00
|
|
|
bevy_macro_utils
|
2020-08-10 01:32:03 +00:00
|
|
|
bevy_derive
|
|
|
|
bevy_math
|
2020-09-19 22:29:08 +00:00
|
|
|
bevy_tasks
|
2022-04-15 18:05:37 +00:00
|
|
|
bevy_reflect/bevy_reflect_derive
|
|
|
|
bevy_reflect
|
2020-12-19 19:28:00 +00:00
|
|
|
bevy_ecs/macros
|
2020-08-10 01:32:03 +00:00
|
|
|
bevy_ecs
|
2020-08-10 00:58:56 +00:00
|
|
|
bevy_app
|
2022-05-26 00:27:18 +00:00
|
|
|
bevy_time
|
2020-12-19 19:28:00 +00:00
|
|
|
bevy_log
|
2020-10-01 20:04:06 +00:00
|
|
|
bevy_dynamic_plugin
|
2020-08-10 00:58:56 +00:00
|
|
|
bevy_asset
|
|
|
|
bevy_audio
|
|
|
|
bevy_core
|
|
|
|
bevy_diagnostic
|
2022-04-15 18:05:37 +00:00
|
|
|
bevy_hierarchy
|
2020-08-10 01:32:03 +00:00
|
|
|
bevy_transform
|
|
|
|
bevy_window
|
Migrate to encase from crevice (#4339)
# Objective
- Unify buffer APIs
- Also see #4272
## Solution
- Replace vendored `crevice` with `encase`
---
## Changelog
Changed `StorageBuffer`
Added `DynamicStorageBuffer`
Replaced `UniformVec` with `UniformBuffer`
Replaced `DynamicUniformVec` with `DynamicUniformBuffer`
## Migration Guide
### `StorageBuffer`
removed `set_body()`, `values()`, `values_mut()`, `clear()`, `push()`, `append()`
added `set()`, `get()`, `get_mut()`
### `UniformVec` -> `UniformBuffer`
renamed `uniform_buffer()` to `buffer()`
removed `len()`, `is_empty()`, `capacity()`, `push()`, `reserve()`, `clear()`, `values()`
added `set()`, `get()`
### `DynamicUniformVec` -> `DynamicUniformBuffer`
renamed `uniform_buffer()` to `buffer()`
removed `capacity()`, `reserve()`
Co-authored-by: Carter Anderson <mcanders1@gmail.com>
2022-05-18 21:09:21 +00:00
|
|
|
bevy_encase_derive
|
2022-05-30 18:36:03 +00:00
|
|
|
bevy_render/macros
|
2022-05-31 22:53:54 +00:00
|
|
|
bevy_mikktspace
|
2020-08-10 01:32:03 +00:00
|
|
|
bevy_render
|
2021-12-14 03:58:23 +00:00
|
|
|
bevy_core_pipeline
|
2020-08-10 00:58:56 +00:00
|
|
|
bevy_input
|
2020-09-19 22:29:08 +00:00
|
|
|
bevy_gilrs
|
2022-04-15 18:05:37 +00:00
|
|
|
bevy_animation
|
2020-08-10 00:58:56 +00:00
|
|
|
bevy_pbr
|
2020-11-03 21:34:00 +00:00
|
|
|
bevy_gltf
|
2020-08-10 00:58:56 +00:00
|
|
|
bevy_scene
|
|
|
|
bevy_sprite
|
|
|
|
bevy_text
|
2023-03-01 22:45:04 +00:00
|
|
|
bevy_a11y
|
2020-08-10 00:58:56 +00:00
|
|
|
bevy_ui
|
|
|
|
bevy_winit
|
2020-12-19 19:28:00 +00:00
|
|
|
bevy_internal
|
|
|
|
bevy_dylib
|
2020-08-10 00:58:56 +00:00
|
|
|
)
|
|
|
|
|
2022-05-30 22:28:32 +00:00
|
|
|
if [ -n "$(git status --porcelain)" ]; then
|
|
|
|
echo "You have local changes!"
|
|
|
|
exit 1
|
|
|
|
fi
|
|
|
|
|
|
|
|
pushd crates
|
|
|
|
|
2020-08-10 00:58:56 +00:00
|
|
|
for crate in "${crates[@]}"
|
|
|
|
do
|
|
|
|
echo "Publishing ${crate}"
|
2023-03-06 10:38:45 +00:00
|
|
|
cp ../LICENSE-MIT "$crate"
|
|
|
|
cp ../LICENSE-APACHE "$crate"
|
2022-05-30 22:28:32 +00:00
|
|
|
pushd "$crate"
|
|
|
|
git add LICENSE-MIT LICENSE-APACHE
|
|
|
|
cargo publish --no-verify --allow-dirty
|
|
|
|
popd
|
2020-11-03 21:34:00 +00:00
|
|
|
sleep 20
|
2020-08-10 01:32:03 +00:00
|
|
|
done
|
|
|
|
|
2022-05-30 22:28:32 +00:00
|
|
|
popd
|
|
|
|
|
|
|
|
echo "Publishing root crate"
|
|
|
|
cargo publish --allow-dirty
|
|
|
|
|
|
|
|
echo "Cleaning local state"
|
|
|
|
git reset HEAD --hard
|