Start breaking up music into pieces/score parts

This commit is contained in:
Andrew Miner
2017-08-28 18:28:26 -07:00
parent e62a87bcd2
commit a3ec651687
8 changed files with 95 additions and 70 deletions
+2 -2
View File
@@ -39,7 +39,7 @@ function compile-ly {
$LILYPOND -I "$PWD/src/includes" -I "$PWD/src/pieces" -o "dist/$DIR_NAME/$BASE_NAME" $1
if [[ "$VIEW" == "YES" ]]; then
open -a "/Applications/Preview.app" -g "dist/$DIR_NAME/$BASE_NAME.pdf"
open -a "/Applications/Safari.app" -g "dist/$DIR_NAME/$BASE_NAME.pdf"
fi
}
@@ -70,7 +70,7 @@ function command-compile {
function command-watch {
CURRENT_DIR=$(dirname $0)
$FSWATCH -r src/scores | grep '\.ly$' --line-buffered | grep -v 'includes' --line-buffered | while read FILE; do
$FSWATCH -r src/scores | egrep '\.ly$' --line-buffered | grep -v 'includes' --line-buffered | while read FILE; do
FILE=$(echo $FILE | sed 's@.*/src/scores/\(.*\)$@./src/scores/\1@')
compile-ly $FILE
done