0.2.2 • Published 5 years ago

@apache-royale/cli v0.2.2

Weekly downloads
4
License
Apache-2.0
Repository
-
Last release
5 years ago

#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