Skip to content

Commit

Permalink
New tasks in .sublime-project build system
Browse files Browse the repository at this point in the history
  • Loading branch information
doublerebel committed Sep 19, 2013
1 parent bfebc21 commit 939586c
Show file tree
Hide file tree
Showing 3 changed files with 65 additions and 0 deletions.
1 change: 1 addition & 0 deletions etc/node-inspector.pid
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
6021
9 changes: 9 additions & 0 deletions etc/sublime-project.json.eco
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,12 @@
},{
"cmd": ["tintan", "compile:coffee"],
"name": "Compile CoffeeScript sources"
},{
"cmd": ["tintan", "compile:coffee:dist"],
"name": "Compile CoffeeScript for Distribution"
},{
"cmd": ["tintan", "compile:coffee:force"],
"name": "Compile CoffeeScript regardless of mod time"
},{
"cmd": ["tintan", "compile:coffee:clean"],
"name": "Clean JS compiled from CoffeeScript"
Expand All @@ -60,6 +66,9 @@
},{
"cmd": ["tintan", "distribute:android"],
"name": "Distribute for Android"
},{
"cmd": ["tintan", "distribute:tf-android"],
"name": "Distribute for Android on TestFlight"
},{
"cmd": ["tintan", "distribute:iphone"],
"name": "Distribute for iPhone"
Expand Down
55 changes: 55 additions & 0 deletions etc/titanium-code-processor.config.json.eco
Original file line number Diff line number Diff line change
@@ -0,0 +1,55 @@
<% projectRoot = process.cwd() %>
{
"sourceInformation": {
"projectDir": "<%= projectRoot %>",
"entryPoint": "<%= projectRoot %>/Resources/app.js",
"sourceDir": "<%= projectRoot %>/Resources",
"sourceMaps": "<%= projectRoot %>/build/map/Resources",
"originalSourceDir": "<%= projectRoot %>/src/coffee"
},
"logging": {
"file": {
"level": "debug",
"path": "<%= projectRoot %>/titanium-code-processor.log"
}
},
"options": {
"resultsPath": "path/to/results/directory",
"processUnvisitedCode": true,
"maxRecursionLimit": 500
}
<!-- },
"plugins": [
{
"path": "path/to/common-globals",
"options": {}
},
{
"path": "path/to/require-provider",
"options": {
"platform": "iphone",
"modules": []
}
},
{
"path": "path/to/ti-api-processor",
"options": {
"platform": "iphone",
"sdkPath": "path/to/sdk",
"values": {
"Titanium.Platform.displayCaps.platformWidth": 720
}
}
},
{
"path": "path/to/ti-api-usage-finder",
"options": {}
},
{
"path": "path/to/ti-api-platform-validator",
"options": {
"platform": "iphone"
}
}
] -->
}

0 comments on commit 939586c

Please sign in to comment.