Added build script

This commit is contained in:
Eric Teunis de Boone 2020-08-25 17:28:45 +02:00
parent 80fd1e309e
commit 2f036252e3
1 changed files with 22 additions and 0 deletions

22
build Executable file
View File

@ -0,0 +1,22 @@
#!/bin/bash
# Wrapper script for pipeband scores
#
# It uses (standard) commandline options of lilypond
#
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
LIB="$(dirname $DIR)/lib"
# Change the Stylesheet variable if you want different 'settings'
# It is handy to include ./defs.ily since it defines some text variables,
# it will complain otherwise about not finding variables
#STYLESHEET=$DIR/defs.ily
STYLESHEET="$LIB/styles/default.sly"
# Options by this script
# see http://lilypond.org/doc/v2.18/Documentation/usage/command_002dline-usage#advanced-command-line-options-for-lilypond
#OPTIONS="-dno-strip-output-dir -dno-point-and-click -dpaper-size=\"a4landscape\""
OPTIONS="-dno-strip-output-dir"
# Execute
lilypond -dinclude-settings=$STYLESHEET $OPTIONS "$@"