forked from rism-digital/verovio
-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
pass neon path as command line argument
- Loading branch information
1 parent
36cff54
commit 0bbfe64
Showing
1 changed file
with
26 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
#!/bin/bash | ||
|
||
# This is a little script that compiles verovio using buildToolkit | ||
# and moves the output, verovio.js, into Neon/verovio-util. | ||
# It then starts up a local instance of Neon using yarn so the | ||
# developer can see the changes as soon as possible. | ||
# Please change [location_of_your_Neon] with the actual path. | ||
# For example: ~/Desktop/DDMAL | ||
|
||
|
||
# Builds verovio for Neon | ||
./buildToolkit -x "Gootville,Petaluma" -DHPX | ||
|
||
cd build | ||
|
||
# Moves the needed verovio.js into Neon | ||
cp verovio.js verovio_new.js | ||
|
||
mv verovio_new.js /Users/yinanzhou/SIMSSA/Neon/verovio-util | ||
|
||
cd /Users/yinanzhou/SIMSSA/Neon/verovio-util | ||
|
||
rm verovio.js; mv verovio_new.js verovio.js | ||
|
||
# Runs Neon | ||
yarn build && yarn start |