Skip to content

Commit 59cabf9

Browse files
authored
Merge pull request #38 from erodriguezh/feature/add-nativescript-workflows
add nativescript workflows
2 parents 2b3d9b3 + 8fe29c2 commit 59cabf9

35 files changed

Lines changed: 469 additions & 0 deletions
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
name: Configure your current NativeScript project to target the selected platform.
2+
command: "ns platform add {{platform}}"
3+
tags:
4+
- ns
5+
- tns
6+
- nativescript
7+
description: "Configures the current NativeScript project to target the selected platform. When you add a target platform, the NativeScript CLI creates a corresponding platform-specific subdirectory under the platforms directory. This platform-specific directory contains the necessary files to let you build your project for the target platform."
8+
arguments:
9+
- name: platform
10+
description: The name of the platform. E.g. ios, android, etc.
11+
source_url: "https://github.com/NativeScript/nativescript-cli/blob/master/docs/man_pages/project/configuration/platform-add.md"
12+
author: erodriguezh
13+
author_url: "https://github.com/erodriguezh"
14+
shells: []
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
name: Build your NativeScript project for Android or iOS.
2+
command: "ns build {{platform}}"
3+
tags:
4+
- ns
5+
- tns
6+
- nativescript
7+
description: "Builds your NativeScript project for Android or iOS and produces an application package that you can manually deploy on a device or native emulator."
8+
arguments:
9+
- name: platform
10+
description: The name of the platform. E.g. ios, android, etc.
11+
source_url: "https://github.com/NativeScript/nativescript-cli/blob/master/docs/man_pages/project/testing/build.md"
12+
author: erodriguezh
13+
author_url: "https://github.com/erodriguezh"
14+
shells: []
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
name: Check Nativescript system's configuration.
2+
command: "ns doctor {{platform}}"
3+
tags:
4+
- ns
5+
- tns
6+
- nativescript
7+
description: "Checks your system for configuration problems which might prevent the NativeScript CLI from working properly for the specified platform, if configured."
8+
arguments:
9+
- name: platform
10+
description: The name of the platform. E.g. ios, android, etc.
11+
source_url: "https://github.com/NativeScript/nativescript-cli/blob/master/docs/man_pages/general/doctor.md"
12+
author: erodriguezh
13+
author_url: "https://github.com/erodriguezh"
14+
shells: []
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
name: Clean your NativeScript project artifacts.
2+
command: "ns clean"
3+
tags:
4+
- ns
5+
- tns
6+
- nativescript
7+
description: "Cleans your NativeScript project artifacts."
8+
source_url: "https://github.com/NativeScript/nativescript-cli/blob/master/docs/man_pages/general/clean.md"
9+
author: erodriguezh
10+
author_url: "https://github.com/erodriguezh"
11+
shells: []
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
name: Configure NativeScript CLI error reporting.
2+
command: "ns error-reporting"
3+
tags:
4+
- ns
5+
- tns
6+
- nativescript
7+
description: "Configures anonymous error reporting for the NativeScript CLI."
8+
source_url: "https://github.com/NativeScript/nativescript-cli/blob/master/docs/man_pages/general/error-reporting.md"
9+
author: erodriguezh
10+
author_url: "https://github.com/erodriguezh"
11+
shells: []
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
name: Configure NativeScript command-line autocompletion.
2+
command: "ns autocomplete {{command}}"
3+
tags:
4+
- ns
5+
- tns
6+
- nativescript
7+
description: "Prints your current NativeScript command-line completion settings. If disabled, prompts you to enable it."
8+
arguments:
9+
- name: command
10+
description: options are status, enable, disable.
11+
source_url: "https://github.com/NativeScript/nativescript-cli/blob/master/docs/man_pages/general/autocomplete.md"
12+
author: erodriguezh
13+
author_url: "https://github.com/erodriguezh"
14+
shells: []
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
name: Configures your NativeScript project for unit testing with a selected framework.
2+
command: "ns test init {{framework}}"
3+
tags:
4+
- ns
5+
- tns
6+
- nativescript
7+
description: "Configures your NativeScript project for unit testing with a selected framework. This operation installs the @nativescript/unit-test-runner npm module and its dependencies and creates a tests folder in the app directory."
8+
arguments:
9+
- name: framework
10+
description: The following frameworks are available - mocha, jasmine and qunit.
11+
source_url: "https://github.com/NativeScript/nativescript-cli/blob/master/docs/man_pages/project/testing/test-init.md"
12+
author: erodriguezh
13+
author_url: "https://github.com/erodriguezh"
14+
shells: []
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
name: Configure NativeScript CLI usage reporting.
2+
command: "ns usage-reporting"
3+
tags:
4+
- ns
5+
- tns
6+
- nativescript
7+
description: "Configures anonymous usage reporting for the NativeScript CLI."
8+
source_url: "https://github.com/NativeScript/nativescript-cli/blob/master/docs/man_pages/general/usage-reporting.md"
9+
author: erodriguezh
10+
author_url: "https://github.com/erodriguezh"
11+
shells: []
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
name: Create a NativeScript app.
2+
command: "ns create {{app_name}}"
3+
tags:
4+
- ns
5+
- tns
6+
- nativescript
7+
description: "Interactively creates a new NativeScript app based on a predefined template."
8+
arguments:
9+
- name: app_name
10+
description: The name of project and must meet the requirements of each platform that you want to target.
11+
source_url: "https://github.com/NativeScript/nativescript-cli/blob/master/docs/man_pages/project/creation/create.md"
12+
author: erodriguezh
13+
author_url: "https://github.com/erodriguezh"
14+
shells: []
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
name: Initiate a debugging session for your NativeScript project.
2+
command: "ns debug {{platform}}"
3+
tags:
4+
- ns
5+
- tns
6+
- nativescript
7+
description: "Initiates a debugging session for your NativeScript project on a connected device or native emulator. The command will prepare, build, deploy and launch the app before starting the debug session."
8+
arguments:
9+
- name: platform
10+
description: The name of the platform. E.g. ios, android, etc.
11+
source_url: "https://github.com/NativeScript/nativescript-cli/blob/master/docs/man_pages/project/testing/debug.md"
12+
author: erodriguezh
13+
author_url: "https://github.com/erodriguezh"
14+
shells: []

0 commit comments

Comments
 (0)