This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
def run_tests(test_type) | |
case test_type | |
when :all | |
system('rake test') | |
when /(controllers|functional)\/?/ | |
system('rake test:functionals') | |
when /(models|unit)\/?/ | |
system('rake test:units') | |
else | |
# do nothing... |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
cd /Applications/TextMate.app/Contents/SharedSupport/Bundles | |
svn co "http://svn.textmate.org/trunk/Bundles/Ruby Haml.tmbundle" | |
svn co "http://macromates.com/svn/Bundles/trunk/Review/Bundles/Ruby Sass.tmbundle" | |
osascript -e 'tell app "TextMate" to reload bundles' |