Skip to content

Add --copy-to option to build command #1067

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 1 commit into from
Oct 15, 2015

Conversation

rosen-vladimirov
Copy link
Contributor

Add --copy-to option to build command that allows copying the built file (.apk or .ipa)
to a specified place. For example:

tns build android --copy-to ./

or

tns build android --copy-to ./myDir/out.apk

In case the output dir does not exist, it will be created. In case the specified value
for copy-to option is directory, the original filename will be used.

Required for easier integration of NativeScript in AppBuilder.

@rosen-vladimirov rosen-vladimirov self-assigned this Oct 15, 2015
@rosen-vladimirov rosen-vladimirov added this to the 1.4.2 milestone Oct 15, 2015
@ns-bot
Copy link

ns-bot commented Oct 15, 2015

Test PASSed.

@dtopuzov
Copy link
Contributor

👍

@teobugslayer
Copy link
Contributor

I'd like to run this code once on my mac before giving a thumbs up

@rosen-vladimirov rosen-vladimirov force-pushed the vladimirov/add-copyTo-option branch from f8fd8ed to d71be03 Compare October 15, 2015 09:38
@ns-bot
Copy link

ns-bot commented Oct 15, 2015

Test PASSed.

@rosen-vladimirov rosen-vladimirov force-pushed the vladimirov/add-copyTo-option branch from d71be03 to f48e22c Compare October 15, 2015 10:11
@ns-bot
Copy link

ns-bot commented Oct 15, 2015

Test PASSed.

@@ -15,8 +15,9 @@ Builds the project for Android and produces an APK that you can manually deploy
* `--key-store-alias` - Provides the alias for the keystore file specified with `--key-store-path`. You can use the `--key-store-*` options along with `--release` to produce a signed release build. You need to specify all `--key-store-*` options.
* `--key-store-alias-password` - Provides the password for the alias specified with `--key-store-alias-password`. You can use the `--key-store-*` options along with `--release` to produce a signed release build. You need to specify all `--key-store-*` options.
* `--static-bindings` - **This is an experimental feature**. If set, generates static bindings from your JavaScript code to corresponding native Android APIs during build. This static bindings speed up app loading.[\*\*](#note)
* `--copy-to` - Specifies the file path where the build `.apk` will be copied. If it points to a non-existent directory, it will be created. If the specified value is directory, the original filename will be used.
Copy link
Contributor

Choose a reason for hiding this comment

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

is it build .apk or built .apk? Also filename -> file name.

Add `--copy-to` option to build command that allows copying the built file (.apk or .ipa)
to a specified place. For example:
```
tns build android --copy-to ./
```
or
```
tns build android --copy-to ./myDir/out.apk
```
In case the output dir does not exist, it will be created. In case the specified value
for `copy-to` option is directory, the original filename will be used.

Required for easier integration of NativeScript in AppBuilder.
@rosen-vladimirov rosen-vladimirov force-pushed the vladimirov/add-copyTo-option branch from f48e22c to 14ef368 Compare October 15, 2015 10:23
@teobugslayer
Copy link
Contributor

👍 after green build

@ns-bot
Copy link

ns-bot commented Oct 15, 2015

Test PASSed.

rosen-vladimirov added a commit that referenced this pull request Oct 15, 2015
@rosen-vladimirov rosen-vladimirov merged commit 7211fc7 into release Oct 15, 2015
@rosen-vladimirov rosen-vladimirov deleted the vladimirov/add-copyTo-option branch October 15, 2015 10:31
@rosen-vladimirov rosen-vladimirov modified the milestones: 1.4.3, 1.4.2 Oct 15, 2015
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.

4 participants