Skip to content

Instantly share code, notes, and snippets.

@kanemu
Created November 7, 2011 10:13
Show Gist options
  • Save kanemu/1344605 to your computer and use it in GitHub Desktop.
Save kanemu/1344605 to your computer and use it in GitHub Desktop.
[groovy][git]ExtendScript.tmbundleをインストールする。
@Grab('com.madgag:org.eclipse.jgit:1.0.99.0.7-UNOFFICIAL-ROBERTO-RELEASE')
import org.eclipse.jgit.api.Git
String userHome = System.getProperty("user.home")
Git.cloneRepository().setURI("git://github.com/kanemu/extendscript.tmbundle.git")
.setDirectory(new File("${userHome}/Library/Application Support/TextMate/Bundles/extendscript.tmbundle"))
.setBare(false)
.setCloneAllBranches(false)
.call()
/*
groovy https://raw.github.com/gist/1344605/c12bae717489351addc7c1bacd767e738ba9b18d/gitclonetmbundle.groovy
*/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment