Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Add initial semantic classes.

  • Loading branch information...
commit 702d3b085a4b4966d623e527a05eb08984315389 1 parent df6114d
@infininight infininight authored
View
23 Commands/Build & Run.plist
@@ -1,13 +1,16 @@
<?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>autoScrollOutput</key>
- <integer>1</integer>
+ <true/>
<key>beforeRunningCommand</key>
<string>saveModifiedFiles</string>
<key>command</key>
- <string># this command calls xcodebuild giving the name of the project
+ <string>#!/usr/bin/env bash
+[[ -f "${TM_SUPPORT_PATH}/lib/bash_init.sh" ]] &amp;&amp; . "${TM_SUPPORT_PATH}/lib/bash_init.sh"
+
+# this command calls xcodebuild giving the name of the project
# directory as the project to build and parses the output for
# file/line information then plays a succes/failure sample
# based on the final outcome
@@ -24,13 +27,23 @@ export XCODE_RUN_BUILD=1
</string>
<key>input</key>
<string>none</string>
+ <key>inputFormat</key>
+ <string>text</string>
<key>keyEquivalent</key>
<string>@r</string>
<key>name</key>
<string>Build &amp; Run</string>
- <key>output</key>
- <string>showAsHTML</string>
+ <key>outputCaret</key>
+ <string>afterOutput</string>
+ <key>outputFormat</key>
+ <string>html</string>
+ <key>outputLocation</key>
+ <string>newWindow</string>
+ <key>semanticClass</key>
+ <string>process.build-and-run.xcode</string>
<key>uuid</key>
<string>B0254A99-7750-4A06-937A-9A453ECE3A6C</string>
+ <key>version</key>
+ <integer>2</integer>
</dict>
</plist>
View
21 Commands/Build.plist
@@ -1,5 +1,5 @@
<?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>autoScrollOutput</key>
@@ -7,19 +7,32 @@
<key>beforeRunningCommand</key>
<string>saveModifiedFiles</string>
<key>command</key>
- <string>"${TM_BUNDLE_SUPPORT}/bin/run_xcodebuild.sh"
+ <string>#!/usr/bin/env bash
+[[ -f "${TM_SUPPORT_PATH}/lib/bash_init.sh" ]] &amp;&amp; . "${TM_SUPPORT_PATH}/lib/bash_init.sh"
+
+"${TM_BUNDLE_SUPPORT}/bin/run_xcodebuild.sh"
</string>
<key>input</key>
<string>none</string>
+ <key>inputFormat</key>
+ <string>text</string>
<key>keyEquivalent</key>
<string>@b</string>
<key>name</key>
<string>Build</string>
- <key>output</key>
- <string>showAsHTML</string>
+ <key>outputCaret</key>
+ <string>afterOutput</string>
+ <key>outputFormat</key>
+ <string>html</string>
+ <key>outputLocation</key>
+ <string>newWindow</string>
<key>scope</key>
<string>attr.project.xcode</string>
+ <key>semanticClass</key>
+ <string>process.build.xcode</string>
<key>uuid</key>
<string>9656317E-73EB-11D9-9848-000D93589AF6</string>
+ <key>version</key>
+ <integer>2</integer>
</dict>
</plist>
View
21 Commands/Run (xcode target).plist
@@ -1,11 +1,14 @@
<?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>PROJECT=$(ruby -- "${TM_BUNDLE_SUPPORT}/bin/find_xcode_project.rb")
+ <string>#!/usr/bin/env bash
+[[ -f "${TM_SUPPORT_PATH}/lib/bash_init.sh" ]] &amp;&amp; . "${TM_SUPPORT_PATH}/lib/bash_init.sh"
+
+PROJECT=$(ruby -- "${TM_BUNDLE_SUPPORT}/bin/find_xcode_project.rb")
if [[ -f "${PROJECT}/project.pbxproj" ]]; then
"${TM_BUNDLE_SUPPORT}/bin/run_xcode_target.rb" -project_dir="$PROJECT"
else
@@ -15,13 +18,23 @@ fi
</string>
<key>input</key>
<string>none</string>
+ <key>inputFormat</key>
+ <string>text</string>
<key>keyEquivalent</key>
<string>@R</string>
<key>name</key>
<string>Run</string>
- <key>output</key>
- <string>showAsTooltip</string>
+ <key>outputCaret</key>
+ <string>afterOutput</string>
+ <key>outputFormat</key>
+ <string>text</string>
+ <key>outputLocation</key>
+ <string>toolTip</string>
+ <key>semanticClass</key>
+ <string>process.run.xcode</string>
<key>uuid</key>
<string>779DEA3C-D310-4B66-9531-DF9007434878</string>
+ <key>version</key>
+ <integer>2</integer>
</dict>
</plist>
View
19 Commands/Run Tests.tmCommand
@@ -5,17 +5,30 @@
<key>beforeRunningCommand</key>
<string>nop</string>
<key>command</key>
- <string>export TM_TARGET="${TM_TEST_TARGET:-Test}"
+ <string>#!/usr/bin/env bash
+[[ -f "${TM_SUPPORT_PATH}/lib/bash_init.sh" ]] &amp;&amp; . "${TM_SUPPORT_PATH}/lib/bash_init.sh"
+
+export TM_TARGET="${TM_TEST_TARGET:-Test}"
"${TM_BUNDLE_SUPPORT}/bin/run_xcodebuild.sh"</string>
<key>input</key>
<string>none</string>
+ <key>inputFormat</key>
+ <string>text</string>
<key>keyEquivalent</key>
<string>~@T</string>
<key>name</key>
<string>Run Tests</string>
- <key>output</key>
- <string>showAsHTML</string>
+ <key>outputCaret</key>
+ <string>afterOutput</string>
+ <key>outputFormat</key>
+ <string>html</string>
+ <key>outputLocation</key>
+ <string>newWindow</string>
+ <key>semanticClass</key>
+ <string>process.test.xcode</string>
<key>uuid</key>
<string>40D3C674-40A1-42A1-847A-FBEAE6E83CCC</string>
+ <key>version</key>
+ <integer>2</integer>
</dict>
</plist>

0 comments on commit 702d3b0

Please sign in to comment.
Something went wrong with that request. Please try again.