Skip to content

Commit

Permalink
Merge branch 'master' of github.com:osadchuk/Corona-SDK.tmbundle
Browse files Browse the repository at this point in the history
  • Loading branch information
osadchuk committed Nov 17, 2011
2 parents 2bab599 + 83050c8 commit 5a1e4c9
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 3 deletions.
8 changes: 7 additions & 1 deletion Commands/Run Simulator.tmCommand
Expand Up @@ -17,6 +17,12 @@ else
CORONA_SIM_PATH="/Applications/CoronaSDK/simulator"
fi
if [[ ${#TM_PROJECT_DIRECTORY} > 0 ]] ; then
TARGET_DIR=$TM_PROJECT_DIRECTORY
else
TARGET_DIR=$TM_DIRECTORY
fi
# In order for the simulator relaunch to work, "Enable access for assistive devices" must be selected in System Preferences > Universal Access.
osascript <<- APPLESCRIPT
Expand Down Expand Up @@ -52,7 +58,7 @@ osascript <<- APPLESCRIPT
selectAppMenuItem("Corona Simulator","File","Relaunch")
else
tell application "Terminal"
do script "$CORONA_SIM_PATH -project $TM_DIRECTORY -skin $SKIN"
do script "$CORONA_SIM_PATH -project $TM_PROJECT_DIRECTORY -skin $SKIN"
end tell
end if
Expand Down
2 changes: 1 addition & 1 deletion Syntaxes/Lua.tmLanguage
Expand Up @@ -9,7 +9,7 @@
<string>lua</string>
</array>
<key>foldingStartMarker</key>
<string>^\s*\b(function|local\s+function|if|for)\b|{[ \t]*$|\[\[</string>
<string>^\s*\b(function|local\s+function|if|for|do)\b|{[ \t]*$|\[\[|^.*= function</string>
<key>foldingStopMarker</key>
<string>\bend\b|^\s*}|\]\]</string>
<key>keyEquivalent</key>
Expand Down
2 changes: 2 additions & 0 deletions Templates/build_settings.tmTemplate/info.plist
Expand Up @@ -9,6 +9,8 @@
perl -pe 's/\$\{([^}]*)\}/$ENV{$1}/g' \
&lt; template_in.txt &gt; "$TM_NEW_FILE"
fi</string>
<key>extension</key>
<string>build.settings</string>
<key>name</key>
<string>build.settings</string>
<key>uuid</key>
Expand Down
5 changes: 4 additions & 1 deletion Templates/untitled.tmTemplate/template_in.txt
@@ -1 +1,4 @@
module (..., package.seeall)
local Module = {}


return Module

0 comments on commit 5a1e4c9

Please sign in to comment.