Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How can one define an external "builder tool" for Dart using sbt/play 2.0?

Currently Play2.0 supports coffee script to javascript and less to css "out of the box" in the /app/assets directory.

Is there a way to get similar functionality (presumably via configuring the sbt inside play 2.0) for dart? If done right, it would result in frogc's (or dart2js') js output being made available programmatically in assets, but of course really being in resources_managed.

like image 1000
Ian Smith Avatar asked May 21 '12 11:05

Ian Smith


1 Answers

I remembered that this was raised in the Play Google Group a while back, so did a quick search. It appears someone has got this working

https://github.com/nelsonsilva/Play20/commit/b365ca56aa285355752d39487fc38a40ad88be5e

based on this converstaion.

There does not appear to be an actual module for this yet though (as of 22/5/2012).

like image 154
Codemwnci Avatar answered Oct 05 '22 00:10

Codemwnci