Generating a deps.js file

33 views
Skip to first unread message

Alvaro Carrasco

unread,
Feb 4, 2011, 3:47:59 PM2/4/11
to s2...@googlegroups.com
Should S2JS automatically generate a deps.js file during compilation?

The deps file is required when using closure-code that has not been compiled and if S2JS were to generate it automatically, it would save the user a step. Maybe it would be better to provide a configuration flag to specify if you want that done.

Is there some sort of java alternative to depswriter.py? If not we'll have to call it using the shell (ugh!)

Alvaro

Erick Fleming

unread,
Feb 6, 2011, 6:25:57 PM2/6/11
to s2...@googlegroups.com
If you look in my s2js-demo project I have some code that generates the deps file.  It could be incorporated into the plugin pretty easily.  I also have code to compile using the closure compiler, though that is not in the project (yet).

Erick Fleming

unread,
Feb 6, 2011, 6:31:16 PM2/6/11
to s2...@googlegroups.com

Alvaro Carrasco

unread,
Feb 6, 2011, 6:52:59 PM2/6/11
to s2...@googlegroups.com
Very nice :)

Alvaro
Reply all
Reply to author
Forward
0 new messages