Skip to content

Commit 9b45496

Browse files
committed
tweak release scripts
1 parent cbf05cf commit 9b45496

File tree

3 files changed

+14
-2
lines changed

3 files changed

+14
-2
lines changed

apps/notation_viewer/Makefile.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ command = "cargo"
5858
args = ["bundle", "--release", "--features", "native", "@@split(CARGO_RELEASE_ARGS, )"]
5959
command = "cargo"
6060

61-
[tasks.release-to-amateurguitar-www]
61+
[tasks.release-web]
6262
script_runner = "@shell"
6363
script = ["""
6464
cp ./target/wasm.js ../../public/notation/
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
#!/usr/bin/env bash
2+
3+
cd `dirname $(readlink -f "$0")`
4+
5+
cargo make release-native
6+
cd ../../
7+
rm -rf ../../target/release/osx/notation_viewer.app
8+
cp -vr target/release/bundle/osx/notation_viewer.app/ release/osx/
9+
cd release/osx/notation_viewer.app/Content/MacOS
10+
ln -s ../Resources/assets .
11+
cd ../../
12+
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
cargo make --profile release release-to-amateurguitar-www
1+
cargo make --profile release release-web

0 commit comments

Comments
 (0)