Skip to content

Commit

Permalink
Merge pull request #3571 from cb1kenobi/timob-12001_3_0_X
Browse files Browse the repository at this point in the history
[TIMOB-12001] Fixed forking of build commands for projects where the tia...
  • Loading branch information
Christian Sullivan committed Dec 11, 2012
2 parents b73f165 + 694f557 commit 06c03bd
Show file tree
Hide file tree
Showing 4 changed files with 42 additions and 13 deletions.
2 changes: 1 addition & 1 deletion android/cli/commands/_build.js
Original file line number Diff line number Diff line change
Expand Up @@ -202,7 +202,7 @@ exports.validate = function (logger, config, cli) {
i;

ti.validateProjectDir(logger, cli, cli.argv, 'project-dir');
if (!ti.validateCorrectSDK(logger, config, cli)) {
if (!ti.validateCorrectSDK(logger, config, cli, 'build')) {
// we're running the build command for the wrong SDK version, gracefully return
return false;
}
Expand Down
2 changes: 1 addition & 1 deletion iphone/cli/commands/_build.js
Original file line number Diff line number Diff line change
Expand Up @@ -352,7 +352,7 @@ exports.validate = function (logger, config, cli) {

ti.validateProjectDir(logger, cli, cli.argv, 'project-dir');

if (!ti.validateCorrectSDK(logger, config, cli)) {
if (!ti.validateCorrectSDK(logger, config, cli, 'build')) {
// we're running the build command for the wrong SDK version, gracefully return
return false;
}
Expand Down
2 changes: 1 addition & 1 deletion mobileweb/cli/commands/_build.js
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ exports.config = function (logger, config, cli) {

exports.validate = function (logger, config, cli) {
ti.validateProjectDir(logger, cli, cli.argv, 'project-dir');
if (!ti.validateCorrectSDK(logger, config, cli)) {
if (!ti.validateCorrectSDK(logger, config, cli, 'build')) {
// we're running the build command for the wrong SDK version, gracefully return
return false;
}
Expand Down
49 changes: 39 additions & 10 deletions support/node_modules/titanium-sdk/lib/titanium.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 06c03bd

Please sign in to comment.