Skip to content

Commit

Permalink
pass neon path as command line argument
Browse files Browse the repository at this point in the history
  • Loading branch information
yinanazhou committed Jul 5, 2023
1 parent 36cff54 commit 0bbfe64
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions emscripten/testNeon.sh
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

0 comments on commit 0bbfe64

Please sign in to comment.