Skip to content

Commit

Permalink
add some script to release binary
Browse files Browse the repository at this point in the history
  • Loading branch information
yjpark committed Dec 13, 2021
1 parent 359833b commit cbf05cf
Show file tree
Hide file tree
Showing 5 changed files with 36 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,6 @@

/target
/public
/release
.ionide

7 changes: 7 additions & 0 deletions apps/notation_viewer/release-viewer_windows.ps1
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
cargo build --release --features native

cd ..\..\
bash -c "rm -rf release/windows/notation_viewer"
bash -c "mkdir -p release/windows/notation_viewer"
bash -c "cp -v target/release/notation_viewer.exe release/windows/notation_viewer/"
bash -c "cp -vr apps/notation_viewer/assets release/windows/notation_viewer/"
27 changes: 27 additions & 0 deletions crates/publish-crates.ps1
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
cd notation_core
cargo publish

cd ../notation_fretted
cargo publish

cd ../notation_guitar
cargo publish

cd ../notation_proto
cargo publish

cd ../notation_model
cargo publish

cd ../notation_dsl
cargo publish

cd ../notation_midi
cargo publish

cd ../notation_bevy_utils
cargo publish

cd ../notation_bevy
cargo publish

Empty file added release/osx/.gitkeep
Empty file.
Empty file added release/windows/.gitkeep
Empty file.

0 comments on commit cbf05cf

Please sign in to comment.