streamline more things

This commit is contained in:
John Bintz 2011-10-26 08:55:44 -04:00
parent 69d865c050
commit befd0b4a2d
5 changed files with 4 additions and 12 deletions

View File

@ -1,5 +0,0 @@
#!/bin/bash
bundle exec rake
if [ $? -ne 0 ]; then exit 1; fi

View File

@ -1,6 +0,0 @@
#!/bin/bash
for i in $PWD/dev-bin/hooks/*; do
ln -sf $i .git/hooks/${i##*/}
done

View File

@ -90,7 +90,7 @@ module Jasmine
if cache.cached? if cache.cached?
%{<script type="text/javascript" src="#{cache.cache_file}"></script> %{<script type="text/javascript" src="#{cache.cache_file}"></script>
<script type="text/javascript"> <script type="text/javascript">
window.CoffeeScriptToFilename['#{File.split(cache.cache_file).last}'] = '#{file}'; window.CSTF['#{File.split(cache.cache_file).last}'] = '#{file}';
</script>} </script>}
else else
%{<script type="text/javascript">#{source}</script>} %{<script type="text/javascript">#{source}</script>}

View File

@ -62,3 +62,5 @@ if window.JHW
JHW.stdout.puts(msg) JHW.stdout.puts(msg)
window.CoffeeScriptToFilename = {} window.CoffeeScriptToFilename = {}
window.CSTF = window.CoffeeScriptToFilename

View File

@ -81,4 +81,5 @@
}; };
} }
window.CoffeeScriptToFilename = {}; window.CoffeeScriptToFilename = {};
window.CSTF = window.CoffeeScriptToFilename;
}).call(this); }).call(this);