Skip to content

Conversation

Fatme
Copy link
Contributor

@Fatme Fatme commented Jul 7, 2015

Should be merged after this PR telerik/mobile-cli-lib#376

@ns-bot
Copy link

ns-bot commented Jul 7, 2015

///<reference path="../.d.ts"/>
"use strict";

export class UsbLivesyncCommand implements ICommand {
Copy link

Choose a reason for hiding this comment

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

There is no need to prefix this with Usb. Both iOS and Android support this over the air.

@Fatme Fatme force-pushed the fatme/livesync branch from fe7b336 to e8c4cbb Compare July 8, 2015 09:44
@ns-bot
Copy link

ns-bot commented Jul 8, 2015

1 similar comment
@ns-bot
Copy link

ns-bot commented Jul 8, 2015

}

public get deviceProjectRootPath(): string {
return `/data/local/tmp/12590FAA-5EDD-4B12-856D-F52A0A1599F2/${this.appIdentifier}`;
Copy link
Contributor

Choose a reason for hiding this comment

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

is this expected identifier 12590FAA-5EDD-4...

Copy link
Contributor Author

Choose a reason for hiding this comment

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

yes 😸

Copy link
Contributor

Choose a reason for hiding this comment

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

Probably it a good idea to give this path a named constant to explain why it is such.

@Fatme Fatme added the feature label Jul 10, 2015
@Fatme Fatme added this to the 1.2.0 milestone Jul 10, 2015
@Fatme Fatme self-assigned this Jul 10, 2015
@@ -5,7 +5,7 @@
"configurations": [
{
// Name of configuration; appears in the launch configuration drop down menu.
"name": "build",
"name": "livesync",
Copy link
Contributor

Choose a reason for hiding this comment

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

Can we .gitignore this file, please?

Copy link
Contributor

Choose a reason for hiding this comment

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

👍 , only basic setup of the file is required, which is already done, all other changes must be gitignored

@ns-bot
Copy link

ns-bot commented Jul 13, 2015

@ns-bot
Copy link

ns-bot commented Jul 13, 2015


public canExecute(args: string[]): IFuture<boolean> {
return (() => {
let platform = args[0];
Copy link
Contributor

Choose a reason for hiding this comment

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

This way the command will work no matter of the number of arguments passed, for example
tns livesync android goshko ios peshko john

@ns-bot
Copy link

ns-bot commented Jul 14, 2015

@rosen-vladimirov
Copy link
Contributor

👍

@ns-bot
Copy link

ns-bot commented Jul 15, 2015

@ns-bot
Copy link

ns-bot commented Jul 15, 2015

Fatme pushed a commit that referenced this pull request Jul 15, 2015
@Fatme Fatme merged commit 8d1968a into master Jul 15, 2015
@Fatme Fatme deleted the fatme/livesync branch July 15, 2015 07:17
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.

5 participants