| Index: experimental/webtry/scripts/fiddle_wrapper
|
| diff --git a/experimental/webtry/scripts/fiddle_wrapper b/experimental/webtry/scripts/fiddle_wrapper
|
| new file mode 100755
|
| index 0000000000000000000000000000000000000000..cd3e75023d68c1159749c71b5a6c2e18c9b1b529
|
| --- /dev/null
|
| +++ b/experimental/webtry/scripts/fiddle_wrapper
|
| @@ -0,0 +1,18 @@
|
| +#!/bin/bash
|
| +
|
| +# run_fiddle takes the hash of the fiddle as its only argument, and then:
|
| +#
|
| +# 1) runs fiddle_gyp to create the gyp file
|
| +# 2) runs ninja to build the executable
|
| +# 3) runs the resulting executable to generate the output .png file.
|
| +#
|
| +# the output PNG file goes into the inout directory, which is shared between the chroot
|
| +# jail and the webserver environment.
|
| +
|
| +[ -z "$SKIA_ROOT" ] && SKIA_ROOT="/skia_build/skia"
|
| +
|
| +cd $SKIA_ROOT/experimental/webtry/scripts
|
| +
|
| +./fiddle_gyp $1
|
| +./fiddle_ninja $1
|
| +./fiddle_run $1
|
|
|