Skip to content
This repository was archived by the owner on Sep 25, 2025. It is now read-only.

Commit 723877a

Browse files
authored
refactor: move all subcrates into a single crate (#68)
* move midix to crate root * move bevy midix to root and submodule * add bevy deps * updates * include bevy in prelude * port work * fix: weird rust issue for event derive macro * fix: prelude name collision with bevy * fix: prelude, docs * fix: add required feature for example * require bevy feature for remaining examples * fix: gitignore * fix: ci test workflow * chore: update readme
1 parent b0e6ba6 commit 723877a

File tree

178 files changed

+884
-685
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

178 files changed

+884
-685
lines changed

.github/workflows/ci.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ jobs:
8888
run: sudo apt-get update; sudo apt-get install --no-install-recommends libasound2-dev libudev-dev
8989
if: runner.os == 'linux'
9090
- name: Build & run tests
91-
run: cargo test
91+
run: cargo test --features bevy
9292
all-doc-tests:
9393
runs-on: ubuntu-latest
9494
steps:

.github/workflows/release.yaml

Lines changed: 0 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -35,32 +35,3 @@ jobs:
3535
env:
3636
CARGO_REGISTRY_TOKEN: ${{ secrets.CARGO_REGISTRY_TOKEN }}
3737
run: cargo publish -p midix
38-
release-midix-synth:
39-
name: Release midix_synth on crates.io
40-
runs-on: ubuntu-latest
41-
needs: release-midix
42-
steps:
43-
- name: Checkout
44-
uses: actions/checkout@v4
45-
46-
- name: Publish to crates.io
47-
env:
48-
CARGO_REGISTRY_TOKEN: ${{ secrets.CARGO_REGISTRY_TOKEN }}
49-
run: cargo publish -p midix_synth
50-
release-bevy-midix:
51-
name: Release bevy_midix on crates.io
52-
runs-on: ubuntu-latest
53-
needs:
54-
- release-midix
55-
- release-midix-synth
56-
steps:
57-
- name: Checkout
58-
uses: actions/checkout@v4
59-
60-
- name: Install alsa and udev
61-
run: sudo apt-get update; sudo apt-get install --no-install-recommends libasound2-dev libudev-dev
62-
63-
- name: Publish to crates.io
64-
env:
65-
CARGO_REGISTRY_TOKEN: ${{ secrets.CARGO_REGISTRY_TOKEN }}
66-
run: cargo publish -p bevy_midix

.gitignore

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,13 @@
11
/target
2-
bevy_midix/target
32
midix/target
43
.DS_Store
54
*.sf2
6-
bevy_midix/assets/*.mid
7-
!bevy_midix/assets/Africa.mid
8-
!bevy_midix/assets/21Guns.mid
9-
!bevy_midix/assets/soundfont.sf2
5+
/assets/*.mid
6+
!/assets/Africa.mid
7+
!/assets/21Guns.mid
8+
!/assets/soundfont.sf2
109
midix_wasm_example/target
1110
!midix_wasm_example/assets/soundfont.sf2
12-
!bevy_midix/assets/8bitsf.sf2
11+
!/assets/8bitsf.sf2
1312
midix_wasm_example/dist
1413
.zed

0 commit comments

Comments
 (0)