Skip to content

Latest commit

 

History

History

spaghetti-gradle-example

Spaghetti Demo

This is a simple demo application. Check it out online: http://prezi.github.io/spaghetti/demo/

The application has three modules:

  • core is a vanilla JS module
  • layout is a Haxe module
  • text-renderer is a TypeScript module
  • app is simple "Hello World" web application using the above modules

How to use it

You will need Haxe, Node JS and TypeScript installed.

On Mac you can do this simply:

$ brew install haxe
$ brew install node
$ npm install -g typescript

Install the latest version of Spaghetti from the root of the Spaghetti repository:

$ cd ..
$ ./gradlew install

Then you can build the test application:

$ cd spaghetti-gradle-example
$ ../gradlew packWebApp
$ open app/build/webapp/index.html

Demo application