Skip to content

Commit cbf05cf

Browse files
committed
add some script to release binary
1 parent 359833b commit cbf05cf

File tree

5 files changed

+36
-0
lines changed

5 files changed

+36
-0
lines changed

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,4 +14,6 @@
1414

1515
/target
1616
/public
17+
/release
1718
.ionide
19+
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
cargo build --release --features native
2+
3+
cd ..\..\
4+
bash -c "rm -rf release/windows/notation_viewer"
5+
bash -c "mkdir -p release/windows/notation_viewer"
6+
bash -c "cp -v target/release/notation_viewer.exe release/windows/notation_viewer/"
7+
bash -c "cp -vr apps/notation_viewer/assets release/windows/notation_viewer/"

crates/publish-crates.ps1

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
cd notation_core
2+
cargo publish
3+
4+
cd ../notation_fretted
5+
cargo publish
6+
7+
cd ../notation_guitar
8+
cargo publish
9+
10+
cd ../notation_proto
11+
cargo publish
12+
13+
cd ../notation_model
14+
cargo publish
15+
16+
cd ../notation_dsl
17+
cargo publish
18+
19+
cd ../notation_midi
20+
cargo publish
21+
22+
cd ../notation_bevy_utils
23+
cargo publish
24+
25+
cd ../notation_bevy
26+
cargo publish
27+

release/osx/.gitkeep

Whitespace-only changes.

release/windows/.gitkeep

Whitespace-only changes.

0 commit comments

Comments
 (0)