Skip to content

Commit

Permalink
pretty_plist is now local.
Browse files Browse the repository at this point in the history
  • Loading branch information
infininight committed Sep 22, 2011
1 parent 756b12f commit f513114
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 14 deletions.
21 changes: 16 additions & 5 deletions Commands/Convert to Old-Style ASCII.plist
Original file line number Diff line number Diff line change
@@ -1,25 +1,36 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<!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>if [[ -f "$TM_FILEPATH" ]] &amp;&amp; [ $(grep -ao "^......" "$TM_FILEPATH"|head -n1) == "bplist" ]
<string>#!/usr/bin/env bash
[[ -f "${TM_SUPPORT_PATH}/lib/bash_init.sh" ]] &amp;&amp; . "${TM_SUPPORT_PATH}/lib/bash_init.sh"
if [[ -f "$TM_FILEPATH" ]] &amp;&amp; [ $(grep -ao "^......" "$TM_FILEPATH"|head -n1) == "bplist" ]
then plutil -convert xml1 -o &gt;(cat) "$TM_FILEPATH"|pl
else "${TM_AVIAN_BUNDLE_SUPPORT}/pretty_plist"
else "${TM_BUNDLE_SUPPORT}/pretty_plist"
fi</string>
<key>input</key>
<string>document</string>
<key>inputFormat</key>
<string>text</string>
<key>keyEquivalent</key>
<string>^H</string>
<key>name</key>
<string>Convert to Old-Style ASCII</string>
<key>output</key>
<string>openAsNewDocument</string>
<key>outputCaret</key>
<string>afterOutput</string>
<key>outputFormat</key>
<string>text</string>
<key>outputLocation</key>
<string>newWindow</string>
<key>scope</key>
<string>text.xml.plist, source.plist.binary</string>
<key>uuid</key>
<string>827E8A23-2C7A-4BDD-987F-A3B67B51F239</string>
<key>version</key>
<integer>2</integer>
</dict>
</plist>
9 changes: 0 additions & 9 deletions info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -74,15 +74,6 @@
<string>F8D1160E-C397-45DD-86A8-BC1CC0C8676A</string>
<string>88C56C14-B8C2-409E-9E1E-55777FB354EE</string>
</array>
<key>require</key>
<array>
<dict>
<key>name</key>
<string>Avian</string>
<key>uuid</key>
<string>C5F9DCF7-13D1-446C-BCA4-BCAD44E573B8</string>
</dict>
</array>
<key>uuid</key>
<string>467A3CB0-6227-11D9-BFB1-000D93589AF6</string>
</dict>
Expand Down

0 comments on commit f513114

Please sign in to comment.