Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[TIMOB-12001] Fixed forking of build commands for projects where the tia... #3571

Merged
merged 1 commit into from
Dec 11, 2012
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
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.