Skip to content

Commit 7457fed

Browse files
committed
Integrate the latest changes from the common lib
1 parent bd86ce3 commit 7457fed

File tree

9 files changed

+10
-4
lines changed

9 files changed

+10
-4
lines changed

lib/config.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,5 +21,9 @@ export class StaticConfig implements IStaticConfig {
2121
public get adbFilePath(): string {
2222
return path.join(__dirname, util.format("../resources/platform-tools/android/%s/adb", process.platform));
2323
}
24+
25+
public get sevenZipFilePath() {
26+
return path.join(__dirname, util.format("../resources/platform-tools/unzip/%s/7za", process.platform));
27+
}
2428
}
2529
$injector.register("staticConfig", StaticConfig);

lib/options.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
///<reference path=".d.ts"/>
2+
"use strict";
23

34
import path = require("path");
45
import helpers = require("./common/helpers");
@@ -34,7 +35,7 @@ if(hostInfo.isWindows()) {
3435
}
3536

3637
commonOptions.setProfileDir(defaultProfileDir);
37-
var parsed = helpers.getParsedOptions(knownOpts, shorthands);
38+
var parsed = helpers.getParsedOptions(knownOpts, shorthands, "nativescript");
3839

3940
Object.keys(parsed).forEach((opt) => exports[opt] = parsed[opt]);
4041
exports.knownOpts = knownOpts;

lib/services/emulator-settings-service.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
///<reference path="../.d.ts"/>
2+
"use strict";
23

34
export class EmulatorSettingsService implements Mobile.IEmulatorSettingsService {
45
private static REQURED_ANDROID_APILEVEL = 17;

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@
3131
"filesize": "2.0.3",
3232
"iconv-lite": "0.4.4",
3333
"lockfile": "1.0.0",
34+
"lodash": "2.4.1",
3435
"log4js": "0.6.9",
3536
"mkdirp": "0.3.5",
3637
"mute-stream": "0.0.4",
@@ -48,7 +49,6 @@
4849
"shelljs": "0.3.0",
4950
"tabtab": "https://github.com/Icenium/node-tabtab/tarball/master",
5051
"temp": "0.8.1",
51-
"underscore": "1.5.2",
5252
"unzip": "0.1.9",
5353
"watchr": "2.4.11",
5454
"xmlhttprequest": "https://github.com/telerik/node-XMLHttpRequest/tarball/master",
220 KB
Binary file not shown.
590 KB
Binary file not shown.
126 KB
Binary file not shown.

test/test-bootstrap.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
global._ = require("underscore");
1+
global._ = require("lodash");
22
global.$injector = require("../lib/common/yok").injector;
33

44
$injector.register("analyticsService", {

0 commit comments

Comments
 (0)