Skip to content

Deploying Amber

Hannes Hirzel edited this page Jan 15, 2015 · 13 revisions

The command

amber init

in version 0.13 and 0.14 creates among a number of other files a Gruntfile.js (http://gruntjs.com/).

With

 grunt deploy

on the command line your JavaScript file called the.js is changed to contain everything which is needed for deployment.

This means for deployment you only need

    index.html and the.js

to put in the target directory.

the.js contains only JavaScript. No Smalltalk sources.

With

grunt devel

you switch back to development mode. You get a short version of the.js

Start page

Clone this wiki locally