play-roy

Created: 2012-08-21 13:03
Updated: 2013-10-07 01:59
License: mit

README.md

play-roy

Roy asset handling plugin for Play 2.0. Implemented as sbt plugin.

Prerequisites

Roy compiler needs to be installed for plugin to work. This means that roy executable needs to be found in path. roy can be installed by installing roy module with npm.

npm -g install roy

You can verify that roy has been installed by following command:

% roy -v
Roy: Small functional language that compiles to JavaScript
0.1.5

Installation

To install locally having installd play with homebrew sbt -Dplay.version= publish-local

Add following to your projects project/plugins.sbt

addSbtPlugin("com.kuendig" % "play-roy" % "0.1.2")

This adds roy asset compiler to Play project. *.roy files in app/assets directories will then be automatically compiled to *.js files.

Versions

  • 0.1.2 [2012-08-22]
  • 0.1.0 [2012-08-17] Initial release

Acknowledgements

This plugin is based on Johannes Emerich's play-stylus plugin for handling Stylus assets.

License

Copyright (c) 2012 Adrian Kuendig

MIT license

Cookies help us deliver our services. By using our services, you agree to our use of cookies Learn more