mirror of
https://github.com/kennethreitz-archive/kHTML.tmbundle.git
synced 2026-06-05 15:30:18 +00:00
27 lines
818 B
Plaintext
Executable File
27 lines
818 B
Plaintext
Executable File
<?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 "<pre>"
|
|
[ -d ".git" ] && git pull
|
|
[ ! -d .git ] && echo "You must install the bundle using Git in order to update via this command. More info: http://github.com/kennethreitz/kHTML.tmbundle"
|
|
|
|
osascript -e 'tell app "TextMate" to reload bundles'
|
|
|
|
echo "</pre>"</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>
|