+ "update via Git" command

This commit is contained in:
Yann
2009-11-01 12:51:02 -05:00
parent 01c1109876
commit 26b5e3b05a
2 changed files with 27 additions and 0 deletions
+26
View File
@@ -0,0 +1,26 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>beforeRunningCommand</key>
<string>nop</string>
<key>command</key>
<string>cd "$TM_BUNDLE_PATH"
echo "&lt;pre&gt;"
[ -d ".git" ] &amp;&amp; git pull
[ ! -d .git ] &amp;&amp; echo "You must install the bundle using Git in order to update via this command. More info: http://github.com/minimaldesign/mHTML.tmbundle"
osascript -e 'tell app "TextMate" to reload bundles'
echo "&lt;/pre&gt;"</string>
<key>input</key>
<string>selection</string>
<key>name</key>
<string>Update Bundle via Git</string>
<key>output</key>
<string>showAsHTML</string>
<key>uuid</key>
<string>D6F8DB6E-2015-498E-8B20-6E2EC34637F4</string>
</dict>
</plist>
+1
View File
@@ -245,6 +245,7 @@
<string>8B7C5284-8665-408A-9EA5-469503B7EE54</string>
<string>479101F9-D223-422E-927D-97E97BAC326F</string>
<string>AC460DE9-5703-4FDA-8729-D635BD3F50B3</string>
<string>D6F8DB6E-2015-498E-8B20-6E2EC34637F4</string>
<string>2AF2A5A5-1009-4F85-A5D5-8FC94C72325D</string>
<string>8C3B4AE6-7DDE-4B71-B8DE-187CDD609F66</string>
<string>2AFCB76A-1D12-4520-A3B7-30A7F527DA1A</string>