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
| apply plugin: 'java' | |
| apply plugin: 'scala' | |
| // For those using Eclipse or IntelliJ IDEA | |
| apply plugin: 'eclipse' | |
| apply plugin: 'idea' | |
| def findPlay20(){ | |
| def pathEnvName = ['PATH', 'Path'].find{ System.getenv()[it] != null } | |
| for(path in System.getenv()[pathEnvName].split(File.pathSeparator)){ | |
| for(playExec in ['play.bat', 'play.sh', 'play']){ |
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
| brew update | |
| brew versions FORMULA | |
| cd `brew --prefix` | |
| git checkout HASH Library/Formula/FORMULA.rb # use output of "brew versions" | |
| brew install FORMULA | |
| brew switch FORMULA VERSION | |
| git checkout -- Library/Formula/FORMULA.rb # reset formula | |
| ## Example: Using Subversion 1.6.17 | |
| # |