Skip to content

Create Builds

doomsayer2 edited this page Dec 13, 2016 · 6 revisions

Gulp tasks

Use the following Gulp tasks from public/ to quickly bundle the app for production or during development and test files for correct annotation.

gulp

Create a single development-ready build.

gulp build

Create a single production-ready build.

gulp watch

To actively watch changes during development.

gulp test

Run a simple test, whether your files are correctly annotated.

gulp clean

Clean up the bin/ directory.

Platform Builds

iOS

To build an iOS build run the following from /:

sh build_ios.sh

Then, as usual, deploy the app to a connected device with Xcode.


Android

To build an android apk or deploy it directly to a plugged device run the following from /:

build_android.bat
  • If a device is plugged in, the app will be build and started on the smartphone. In order to check if a device is found, type adb devices, which will list all connected devices.
  • If no device is connected, the emulator of the android SDK will be launched.
Clone this wiki locally