Index: tools/fiddle/fiddle_test |
diff --git a/experimental/fiddle/fiddle_test b/tools/fiddle/fiddle_test |
similarity index 90% |
rename from experimental/fiddle/fiddle_test |
rename to tools/fiddle/fiddle_test |
index c95ac7f2349fb8fea96d57fe9055e15932d57fee..2b5349583f4e6237728ab3f62d4f02679d459d22 100755 |
--- a/experimental/fiddle/fiddle_test |
+++ b/tools/fiddle/fiddle_test |
@@ -9,7 +9,9 @@ |
set -e |
set -x |
-cd "$(dirname "$0")/../.." |
+cd "$(dirname "$0")" |
+fiddle_dir="$PWD" |
+cd "../.." |
skia_dir="$PWD" |
if ! command -v cmake > /dev/null 2>&1 ; then |
@@ -23,7 +25,7 @@ if ! command -v cmake > /dev/null 2>&1 ; then |
fi |
echo "Building Skia and Fiddle" |
-cd "${skia_dir}/experimental/fiddle" |
+cd "$fiddle_dir" |
git clean -fxd . |
go build fiddler.go |
./fiddler "$skia_dir" |