Compare commits
3 Commits
6ef9d3a56a
...
32734f31d5
Author | SHA1 | Date | |
---|---|---|---|
32734f31d5 | |||
cabc938ab7 | |||
36f7c62836 |
|
@ -5,18 +5,20 @@ name: default
|
|||
steps:
|
||||
- name: test
|
||||
image: rust:bullseye
|
||||
pull: always
|
||||
commands:
|
||||
- rustup component add clippy rustfmt
|
||||
- apt-get update -qq
|
||||
- apt-get install -qqy llvm-dev libclang-dev clang cmake pkg-config libx11-dev libasound2-dev libudev-dev libxcb-xfixes0-dev libwayland-dev libxkbcommon-dev libvulkan-dev libpulse-dev
|
||||
- apt-get install -qqy cmake pkg-config libx11-dev libasound2-dev libudev-dev libxcb-xfixes0-dev libwayland-dev libxkbcommon-dev libvulkan-dev libpulse-dev
|
||||
- cargo fmt --check
|
||||
- cargo test
|
||||
- cargo clippy
|
||||
- name: release
|
||||
image: rust:bullseye
|
||||
pull: always
|
||||
commands:
|
||||
- apt-get update -qq
|
||||
- apt-get install -qqy llvm-dev libclang-dev clang cmake pkg-config libx11-dev libasound2-dev libudev-dev libxcb-xfixes0-dev libwayland-dev libxkbcommon-dev libvulkan-dev libpulse-dev
|
||||
- apt-get install -qqy cmake pkg-config libx11-dev libasound2-dev libudev-dev libxcb-xfixes0-dev libwayland-dev libxkbcommon-dev libvulkan-dev libpulse-dev
|
||||
- cargo publish --no-verify
|
||||
when:
|
||||
ref:
|
||||
|
|
|
@ -11,7 +11,7 @@ repository = "https://labs.lightsout.games/projects/bevy_synthizer"
|
|||
[dependencies]
|
||||
anyhow = "1"
|
||||
bevy = { version = "0.9", default-features = false, features = ["bevy_asset"] }
|
||||
synthizer = "0.5"
|
||||
synthizer = { git = "https://github.com/synthizer/synthizer-rs" }
|
||||
|
||||
[dev-dependencies]
|
||||
bevy = { version = "0.9", default-features = true }
|
||||
|
|
|
@ -66,7 +66,6 @@ impl Default for Source {
|
|||
}
|
||||
|
||||
#[derive(Component, Clone, Copy, Debug, Deref, DerefMut)]
|
||||
// #[reflect(Component)]
|
||||
pub struct PannerStrategy(pub syz::PannerStrategy);
|
||||
|
||||
impl Default for PannerStrategy {
|
||||
|
@ -714,13 +713,13 @@ impl Plugin for SynthizerPlugin {
|
|||
let context = Context(context);
|
||||
app.add_asset::<Buffer>()
|
||||
.init_asset_loader::<BufferAssetLoader>()
|
||||
.register_type::<Source>()
|
||||
.register_type::<DistanceRef>()
|
||||
.register_type::<DistanceMax>()
|
||||
.register_type::<Rolloff>()
|
||||
.register_type::<ClosenessBoostDistance>()
|
||||
.register_type::<AngularPan>()
|
||||
.register_type::<ScalarPan>()
|
||||
.register_type::<Source>()
|
||||
.register_type::<Sound>()
|
||||
.register_type::<Listener>()
|
||||
.insert_resource(guard)
|
||||
|
|
Loading…
Reference in New Issue
Block a user