Giter Club home page Giter Club logo

tabris-js-cli's Introduction

Tabris.js CLI

Build Status

Command line tools which make developing Tabris.js apps even easier.

Installation

npm install -g tabris-cli

Usage

Creating a new Tabris.js project

tabris init

... will guide you through creating a Tabris.js project structure in the current directory.

Serving a Tabris.js app

tabris serve

... will start a server you can point the Tabris.js developer app to.

Request logging can be enabled using the option --logging or -l.

Building a Tabris.js app

tabris build [android|ios|windows]

... will perform a local app build. When run for the first time, it prompts for a build key, which can be retrieved from the Tabris.js Account Settings page.

The build type (debug or release) can set by adding either --debug or --release, while debug is the default.

The options --device and --emulator specify whether the app should be built for/ran on a device or an emulator.

The option --verbose will provide more verbose output.

In addition to the build command, the CLI supports a run command which behaves in the same manner as build but also deploys and starts the built app on a connected device or an emulator:

tabris run [android|ios|windows]

Variables in the config.xml are replaced by environment variables unless --no-replace-env-vars is given. Additional variables can be specified with the --variables option:

tabris build [android|ios|windows] --variables FOO=bar,BAR=baz

will replace all occurrences of $FOO with bar and $BAR with baz.

For code signing, you can specify a build config file (see: iOS, Android) using the --cordova-build-config=... option. It can be relative to the cordova/ project directory. You may want to include this file in .gitignore since it could contain sensitive information.

Cleaning up build cache

To speed up the build, pre-compiled build artifacts are being reused. To clean up the build cache, e.g. after adding or updating Cordova plug-ins, call:

tabris clean

License

Published under the terms of the BSD 3-Clause License.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.