textmate/processing.tmbundle

run fix for processing > 2.0b4

Closed this issue · 1 comments

Processing now has a new method to run code (via a commandline interface).
Took me some time to understand how to set this up in textmate but here it is:

#!/usr/bin/env ruby -wKU
require ENV["TM_SUPPORT_PATH"] + "/lib/tm/executor"
command = ["processing-java", "--sketch=#{ENV['TM_PROJECT_DIRECTORY']}", "--output=/tmp/processing_output", "--run", "--force"]
TextMate::Executor.run(command)

I tried replacing the Processing bundle text with this and it didn't seem to work.