unix4artists/processing/example-sketch.sh

10 lines
304 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`
echo "$SKETCH"
# pass all arguments on bash script example-sketch.pde sketch
processing-java --sketch="${SKETCH}" --run \
"${@}"