blob: fc85204723ae68b8f9c57036ae85bcac7463170b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
def compile_ly ly_filename
system "lilypond --svg --output=#{tmp SongsDir} #{ly_filename}"
system "lilypond --output=#{tmp SongsDir} #{ly_filename}"
end
def make_sheets songs
songs.keys.each do |song_id|
ly_filename = src(song_ly song_id)
if File.file? ly_filename
compile_ly ly_filename
system "mv #{tmp (song_tmp_svg song_id)} #{build(song_svg song_id)}"
end
end
end
|