Skip to content

Commit 73b865e

Browse files
committed
Remove library add command
See #1239
1 parent 9dcd3b4 commit 73b865e

File tree

14 files changed

+0
-187
lines changed

14 files changed

+0
-187
lines changed

README.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -302,7 +302,6 @@ Run `tns help` to view all available commands in the browser. Run `tns help <Com
302302
* `platform add <Platform>` adds a new target platform to your project.
303303
* `platform remove <Platform>` removes the selected platform from the target platforms of the project.
304304
* `platform update <Platform>` updates the NativeScript runtime for the specified platform.
305-
* `library add <Platform> <Library Dir>` adds all libraries in the stated directory (Library Dir).
306305
* `prepare <Platform>` copies cross-platform and selected platform-specific content to the subdirectory for the target platform.
307306
* `build <Platform>` builds the project for the selected target platform.
308307
* `emulate <Platform>` builds the project for the selected target platform and runs it in the native emulator, if configured.

docs/man_pages/lib-management/library-add.md

Lines changed: 0 additions & 57 deletions
This file was deleted.

docs/man_pages/lib-management/library.md

Lines changed: 0 additions & 22 deletions
This file was deleted.

docs/man_pages/lib-management/plugin-add.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,6 @@ General | `$ tns plugin add <Plugin>`
2626

2727
Command | Description
2828
----------|----------
29-
[library](library.html) | You must run the library command with a related command.
30-
[library add](library-add.html) | Adds a native library to the current project.
3129
[plugin](plugin.html) | Lets you manage the plugins for your project.
3230
[plugin remove](plugin-remove.html) | Uninstalls the specified plugin and its dependencies.
3331
<% } %>

docs/man_pages/lib-management/plugin-remove.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,6 @@ General | `$ tns plugin remove <Plugin>`
1717

1818
Command | Description
1919
----------|----------
20-
[library](library.html) | You must run the library command with a related command.
21-
[library add](library-add.html) | Adds a native library to the current project.
2220
[plugin](plugin.html) | Lets you manage the plugins for your project.
2321
[plugin add](plugin-add.html) | Installs the specified plugin and its dependencies.
2422
<% } %>

docs/man_pages/lib-management/plugin.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,6 @@ Lets you manage the plugins for your project.
1818

1919
Command | Description
2020
----------|----------
21-
[library](library.html) | You must run the library command with a related command.
22-
[library add](library-add.html) | Adds a native library to the current project.
2321
[plugin add](plugin-add.html) | Installs the specified plugin and its dependencies.
2422
[plugin remove](plugin-remove.html) | Uninstalls the specified plugin and its dependencies.
2523
<% } %>

lib/bootstrap.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,6 @@ $injector.requireCommand("platform|*list", "./commands/list-platforms");
3232
$injector.requireCommand("platform|add", "./commands/add-platform");
3333
$injector.requireCommand("platform|remove", "./commands/remove-platform");
3434
$injector.requireCommand("platform|update", "./commands/update-platform");
35-
$injector.requireCommand("library|add", "./commands/add-library");
3635
$injector.requireCommand("run|ios", "./commands/run");
3736
$injector.requireCommand("run|android", "./commands/run");
3837

lib/commands/add-library.ts

Lines changed: 0 additions & 53 deletions
This file was deleted.

lib/definitions/platform.d.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@ interface IPlatformService {
1313
deployOnEmulator(platform: string, buildConfig?: IBuildConfig): IFuture<void>;
1414
validatePlatformInstalled(platform: string): void;
1515
validatePlatform(platform: string): void;
16-
addLibrary(platform: string, libraryPath: string): IFuture<void>;
1716

1817
getLatestApplicationPackageForDevice(platformData: IPlatformData): IFuture<IApplicationPackage>;
1918
getLatestApplicationPackageForEmulator(platformData: IPlatformData): IFuture<IApplicationPackage>;

lib/definitions/project.d.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,6 @@ interface IPlatformProjectService {
4545
prepareProject(): IFuture<void>;
4646
prepareAppResources(appResourcesDirectoryPath: string): IFuture<void>;
4747
isPlatformPrepared(projectRoot: string): IFuture<boolean>;
48-
addLibrary(libraryPath: string): IFuture<void>;
4948
canUpdatePlatform(currentVersion: string, newVersion: string): IFuture<boolean>;
5049
/**
5150
* Provides a platform specific update logic for the specified runtime versions.

0 commit comments

Comments
 (0)