Skip to content

Instantly share code, notes, and snippets.

@adamnengland
Created March 3, 2012 00:06
Show Gist options
  • Save adamnengland/1962699 to your computer and use it in GitHub Desktop.
Save adamnengland/1962699 to your computer and use it in GitHub Desktop.
Using Textmate for Play/Coffee/LESS development
Install Textmate - http://macromates.com/
Install Play bundle (it is included in the play framework zip, under support/textmate)
Install Less bundle: https://github.com/appden/less.tmbundle (Just download the zip, unzip, and double click on Commands/Save to CSS.tmCommand && Syntaxes/LESS.tmLanguage)
Install Coffee bundle: https://github.com/jashkenas/coffee-script-tmbundle (instructions on page)
Install coffeescript & less compilers to allow compilation from Textmate.
I chose to use npm, you could do it differently.
Installing coffee via npm: http://coffeescriptcafe.com/blog/your-mac-osx-coffeescript-development-environment/
Install Less: npm install less -g
Set permission for play bundle
chmod +x /Users/USERNAME HERE/Library/Application\ Support/TextMate/Pristine\ Copy/Bundles/Play\!.tmbundle/Support/bin/*.py
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment