unix4artists/processing/example-sketch.sh

10 lines
290 B
Bash
Raw Normal View History

2021-05-09 17:05:38 +00:00
#!/bin/bash
#https://github.com/processing/processing/wiki/Command-Line
# processing-java requires the full path of the sketch
SKETCH=`realpath ./processing/example-sketch`
2021-05-09 17:08:31 +00:00
2021-05-09 17:05:38 +00:00
# pass all arguments on bash script example-sketch.pde sketch
processing-java --sketch="${SKETCH}" --run \
"${@}"