blob: a96641494a581f44792c2f0bda95a95a4e2bc76b [file] [log] [blame]
#!/bin/bash
# fiddle_wrapper takes the hash of the fiddle as its first argument, and additional arguments to
# be passed to the build fiddle executable. Then it:
#
# 1) runs fiddle_gyp to create the gyp file
# 2) runs fiddle_ninja to build the executable
# 3) runs fiddle_run 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 "$WEBTRY_ROOT" ] && WEBTRY_ROOT="/skia_build/"
cd $WEBTRY_ROOT/scripts
./fiddle_gyp $1
./fiddle_ninja $1
./fiddle_run $@