Skip to content

Commit

Permalink
Render each gallery sketch to its OWN output folder.
Browse files Browse the repository at this point in the history
`processing-java` was borking, because the output folder already
existed.
  • Loading branch information
danbernier committed Jan 6, 2016
1 parent 432f186 commit 29003f4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Rakefile
Expand Up @@ -167,7 +167,7 @@ def import_the_gallery
run "rm gallery/*.pde"
run "rm gallery/*.png"
gallery_paths.each do |gallery_path|
run "processing-java --sketch=example/gallery/#{gallery_path} --output=output --run --force"
run "processing-java --sketch=example/gallery/#{gallery_path} --output=output/#{gallery_path} --run --force"
run "mv example/gallery/#{gallery_path}/#{gallery_path}.png gallery/"
run "cp example/gallery/#{gallery_path}/#{gallery_path}.pde gallery/#{gallery_path}.pde"
end
Expand Down

0 comments on commit 29003f4

Please sign in to comment.