+ "update via Git" command

This commit is contained in:
Yann
2009-11-01 13:10:52 -05:00
parent 70bb242407
commit 049cf2d73a
2 changed files with 28 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/mCSS.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>FC73E843-A683-44FD-ADE4-45049DAC14C6</string>
</dict>
</plist>
+2
View File
@@ -499,6 +499,7 @@
<key>ordering</key>
<array>
<string>C06F4F5E-AF7F-4C65-8B4B-0FDF41F1BC27</string>
<string>FC73E843-A683-44FD-ADE4-45049DAC14C6</string>
<string>D6D0BEB2-DF32-4762-ABC1-3465116C220A</string>
<string>3A4062A8-C24A-4EBD-9D17-481D2F670EFA</string>
<string>D27FBAE9-1D8D-4D42-A0A5-F1020B09F3DF</string>
@@ -761,6 +762,7 @@
<string>11B3AF3A-E77D-4D95-8BF0-E66002B1AF28</string>
<string>78BA52A1-6539-4EAD-8652-36534A88F143</string>
<string>70E14B2B-4EE3-41C9-A74B-F23B4954C915</string>
<string>3CDEC63C-E880-4A63-AE3A-33DA2BF8A387</string>
</array>
<key>uuid</key>
<string>3CDEC63C-E880-4A63-AE3A-33DA2BF8A387</string>