Index: experimental/fiddle/fiddle_test |
diff --git a/experimental/fiddle/fiddle_test b/experimental/fiddle/fiddle_test |
new file mode 100644 |
index 0000000000000000000000000000000000000000..7955d6861414af8fe6a3f92768593e274faa351b |
--- /dev/null |
+++ b/experimental/fiddle/fiddle_test |
@@ -0,0 +1,31 @@ |
+#!/bin/sh |
+# Copyright 2015 Google Inc. |
+# |
+# Use of this source code is governed by a BSD-style license that can be |
+# found in the LICENSE file. |
+ |
+# Script for building Fiddle build bots. |
+ |
+set -e |
+set -x |
+ |
+cd "$(dirname "$0")/../.." |
+skia_dir="$PWD" |
+cores=32 |
+ |
+echo "Bootstrapping CMake" |
+cmake_dir="${skia_dir}/third_party/externals/cmake" |
+cd "$cmake_dir" |
+./bootstrap --parallel=$cores |
+make -j $cores cmake |
+ |
+echo "Building fiddle bootstrapped CMake" |
+cd "${skia_dir}/experimental/fiddle" |
+export PATH="${cmake_dir}/bin:${PATH}" |
+go build fiddler.go |
+./fiddler "$skia_dir" |
+./fiddler "$skia_dir" draw.cpp > /dev/null |
+ |
+echo "cleaning up" |
+cd "$skia_dir" |
+git clean -fxd cmake experimental/fiddle |