Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(95)

Side by Side Diff: experimental/webtry/scripts/fiddle_run

Issue 656463002: add support for skfiddle width/height options (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: add new db creation commands to the design documnt Created 6 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 #!/bin/bash 1 #!/bin/bash
2 2
3 # fiddle_run executes the build fiddle (from the local 3 # fiddle_run executes the build fiddle (from the local
4 # skia tree's out/Release directory) and places the output 4 # skia tree's out/Release directory) and places the output
5 # png into the inout directory so it can be seen 5 # png into the inout directory so it can be seen
6 # outside the chroot jail and served back to the user. 6 # outside the chroot jail and served back to the user.
7 7
8 [ -z $SKIA_ROOT ] && SKIA_ROOT="/skia_build/skia" 8 [ -z $SKIA_ROOT ] && SKIA_ROOT="/skia_build/skia"
9 [ -z $WEBTRY_INOUT ] && WEBTRY_INOUT="/skia_build/inout" 9 [ -z $WEBTRY_INOUT ] && WEBTRY_INOUT="/skia_build/inout"
10 10
11 if [ "$#" -eq 2 ]; then 11 $SKIA_ROOT/out/Release/$1 --out $WEBTRY_INOUT/$1.png "${@:2}"
12 FIDDLE_SOURCE_ARGS="--source $WEBTRY_INOUT/$2"
13 fi
14
15 $SKIA_ROOT/out/Release/$1 --out $WEBTRY_INOUT/$1.png $FIDDLE_SOURCE_ARGS
OLDNEW
« no previous file with comments | « experimental/webtry/res/webtry/sass/webtry.scss ('k') | experimental/webtry/scripts/fiddle_wrapper » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698