From c5956ee7d38f264ab1bce6a71527683734f9b5f1 Mon Sep 17 00:00:00 2001 From: John Bintz Date: Tue, 7 Jun 2011 14:56:44 -0400 Subject: [PATCH] remove coffee watchr --- coffee.watchr | 18 ------------------ 1 file changed, 18 deletions(-) delete mode 100644 coffee.watchr diff --git a/coffee.watchr b/coffee.watchr deleted file mode 100644 index 88d3123..0000000 --- a/coffee.watchr +++ /dev/null @@ -1,18 +0,0 @@ -require 'coffee-script' - -FILE = 'jasmine/jasmine.headless-reporter.coffee' if !self.class.const_defined?(:FILE) -TARGET = FILE.gsub('.coffee', '.js') if !self.class.const_defined?(:TARGET) - -watch(FILE) { coffee } - -def coffee - begin - File.open(TARGET, 'w') { |fh| fh.print CoffeeScript.compile File.open(FILE) } - puts "Wrote #{TARGET}" - rescue Exception => e - puts e.message - end -end - -coffee -