Add a file for quickly compling the test CoffeeScript files

Project: http://git-wip-us.apache.org/repos/asf/tapestry-5/repo
Commit: http://git-wip-us.apache.org/repos/asf/tapestry-5/commit/ece6efcd
Tree: http://git-wip-us.apache.org/repos/asf/tapestry-5/tree/ece6efcd
Diff: http://git-wip-us.apache.org/repos/asf/tapestry-5/diff/ece6efcd

Branch: refs/heads/5.4-js-rewrite
Commit: ece6efcd3de8bbf4c740aeab2de84aaaf0fb2e9f
Parents: 05bded1
Author: Howard M. Lewis Ship <[email protected]>
Authored: Sat Aug 11 08:35:13 2012 -0700
Committer: Howard M. Lewis Ship <[email protected]>
Committed: Sat Aug 11 08:35:13 2012 -0700

----------------------------------------------------------------------
 tapestry-core/compile-test-coffeescript |   11 +++++++++++
 1 files changed, 11 insertions(+), 0 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/tapestry-5/blob/ece6efcd/tapestry-core/compile-test-coffeescript
----------------------------------------------------------------------
diff --git a/tapestry-core/compile-test-coffeescript 
b/tapestry-core/compile-test-coffeescript
new file mode 100755
index 0000000..022efb9
--- /dev/null
+++ b/tapestry-core/compile-test-coffeescript
@@ -0,0 +1,11 @@
+#!/bin/sh
+# This is handy when developing as the Gradle build can be very slow.
+# Starts coffee in --watch mode, so it will keep compiling files on change.
+# Expects coffee to be on the path.
+# Should be executed from the tapestry-core folder.
+# Doe NOT compile the test scripts.
+
+inputDir=src/test/coffeescript/org/apache/tapestry5/integration/app1/pages
+outputDir=buiid/generated-sources/compiled-test-coffeescript/org/apache/tapestry5/integration/app1/pages
+
+coffee --watch --bare --output $outputDir $inputDir/*.coffee
\ No newline at end of file

Reply via email to