diff --git a/Rakefile b/Rakefile index a49020a..9d38bff 100644 --- a/Rakefile +++ b/Rakefile @@ -22,6 +22,7 @@ task :default => 'jasmine:dist' def substitute_jasmine_version(filename) contents = File.read(filename) contents = contents.gsub(/##JASMINE_VERSION##/, (jasmine_version)) + contents = contents.gsub(/[^\n]*REMOVE_THIS_LINE_FROM_BUILD[^\n]*/, '') File.open(filename, 'w') { |f| f.write(contents) } end diff --git a/example/SpecRunner.html b/example/SpecRunner.html index 54c36cc..2089f4c 100644 --- a/example/SpecRunner.html +++ b/example/SpecRunner.html @@ -17,6 +17,7 @@
+You must be trying to look at examples in the Jasmine source tree.
Please download a distribution version of Jasmine at http://pivotal.github.com/jasmine/.