Skip to content

Update correctly ant template to gradle #886

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

Merged
merged 2 commits into from
Sep 8, 2015

Conversation

Fatme
Copy link
Contributor

@Fatme Fatme commented Sep 8, 2015

No description provided.

@ns-bot
Copy link

ns-bot commented Sep 8, 2015

@@ -153,11 +153,21 @@ class AndroidProjectService extends projectServiceBaseLib.PlatformProjectService
}

public canUpdatePlatform(currentVersion: string, newVersion: string): IFuture<boolean> {
return Future.fromResult<boolean>(true);
return (() => {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

perhaps return Future.fromResult(true)?

@Fatme Fatme force-pushed the fatme/fix-platform-update-from-ant-template branch from e5e79f4 to 69a5c05 Compare September 8, 2015 09:20
this.$fs.deleteDirectory(destinationFile).wait();
shell.cp("-R", path.join(sourceFile, "*"), destinationFile);
this.$logger.info("Backup file %s at location %s", sourceFile, destinationFile);
this.$fs.deleteDirectory(path.join(this.platformData.projectRoot, util.format("%s.xcodeproj", this.$projectData.projectName))).wait();
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Isn't this deleteDirectory(sourceFile)?

@Fatme Fatme added this to the 1.3.0 milestone Sep 8, 2015
@Fatme Fatme added the bug label Sep 8, 2015
@ns-bot
Copy link

ns-bot commented Sep 8, 2015

1 similar comment
@ns-bot
Copy link

ns-bot commented Sep 8, 2015

@Fatme Fatme force-pushed the fatme/fix-platform-update-from-ant-template branch from 0a05e6e to 39d6874 Compare September 8, 2015 12:09
@ns-bot
Copy link

ns-bot commented Sep 8, 2015

@Fatme Fatme force-pushed the fatme/fix-platform-update-from-ant-template branch from 39d6874 to f3f7ea3 Compare September 8, 2015 13:21
@teobugslayer
Copy link
Contributor

Squash and go, 👍

@ns-bot
Copy link

ns-bot commented Sep 8, 2015

Fatme pushed a commit that referenced this pull request Sep 8, 2015
…rom-ant-template

Update correctly ant template to gradle
@Fatme Fatme merged commit 68537d8 into release Sep 8, 2015
@Fatme Fatme deleted the fatme/fix-platform-update-from-ant-template branch September 8, 2015 15:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants