tabris-cli
Advanced tools
Changelog
2.0.1
Update generator dependency to fix a critical bug affecting the tabris init
command.
Changelog
2.0.0
The serve command now checks for a valid package.json
file.
The build command now downloads the native platforms automatically and keeps them in a cache. The environment variables TABRIS_ANDROID_PLATFORM
, TABRIS_IOS_PLATFORM
, and TABRIS_WINDOWS_PLATFORM
are not needed anymore. Please unset these variables to enable the download.
To download the platforms, the CLI will now ask for your build key. This key is available on tabrisjs.com. Once entered, the key is stored in ~/.tabris-cli/build.key
.
Changelog
0.6.0
The options --device
and --emulator
specify whether an app should be built for/ran on a device or an emulator.
--verbose
will provide more verbose output.
Changelog
0.5.1
The runtime dependency update-notifier was declared falsely as a devDependency.
Changelog
0.5.0
The build
and run
commands now accept a build configuration file used by Cordova (see iOS, Android). It can be given using the --cordova-build-config=...
option.
The Tabris CLI will now show a notice when using an outdated version.
Changelog
0.4.0
The serve
command now supports the parameter --logging
or -l
to log all requests to the console, e.g.:
$ tabris serve -l
Server started.
Point your Tabris.js client to:
http://192.168.1.23:8080
GET /package.json
GET /node_modules/foo 404: "Not found"
...
The build
command supports the parameters --debug
and --release
. These parameters are passed to the cordova build and determine the build mode.
The platform parameter is now required.
Parameters given after a double dash --
are passed as platform options to the cordova build, for example:
tabris build android -- --keystore=...
To speed up the build, the build cache in build/cordova
won't be cleared automatically for every build, so pre-compiled artifacts can be reused.
Use the clean
command to clean the build cache, e.g. when changes to the config.xml
have been made.
tabris clean
The run
command builds and installs a Tabris.js app on a connected device or emulator.
Changelog
0.3.0
The CLI now supports local app builds.
The build tools for the target platform must be installed on your system (Android SDK for Android, XCode for iOS, and Visual Studio for Windows. The path to the respective cordova platform (downloaded from tabrisjs.com) is expected in the environment variable TABRIS_ANDROID_PLATFORM
, TABRIS_IOS_PLATFORM
, or TABRIS_WINDOWS_PLATFORM
, respectively.
With these preparations, builds can be started with
tabris build [android|ios|windows]