@apache-royale/cli

0.2.2 • Public • Published

#Welcome to the README for the Apache Royale CLI tool

##To Install:

First:

npm install @apache-royale/royale-js -g
or
npm install @apache-royale/royale-js-swf -g

and then:

npm install @apache-royale/cli -g

How to use

####Help

royale help

####Setup

royale new  my-royale-app 
cd my-royale-app

This creates a simple app: my-royale-app/src/Main.mxml

Run in debug mode

royale serve:debug
  • Compiles the project in debug mode
  • Compiles with source map option
  • Starts a http server and serves the files from the bin/js-debug directory
  • Opens the default browser and navigates to http://localhost:3000
  • Listens to src folder
  • When any file changes, it will recompile the app
  • Automatically reloads the browser to show the updated application

Run in release mode

royale serve:release
  • Compiles the project in release mode
  • Starts a http server and serves the files from the bin/js-release directory
  • Opens the default browser and navigates to http://localhost:3001

Dependencies (13)

Dev Dependencies (0)

    Package Sidebar

    Install

    npm i @apache-royale/cli

    Weekly Downloads

    1

    Version

    0.2.2

    License

    Apache-2.0

    Unpacked Size

    11.1 kB

    Total Files

    5

    Last publish

    Collaborators

    • apache-royale-owner
    • bigosmallm