Hi. I'm glad to announe Urembed.
https://github.com/grwlf/urembed
This tool embeds file(s) into the Ur/Web project by creating the
module containing
datatype content = File_A | File_B ...
val binary : content -> transaction blob
typical usage is
$ urembed -o lib/autogen/Static.urp Style.css Script.js
Additionally, Urembed simplifies the usage of JavaScript FFIs by
writing signatures for all top-level JavaScript functions from FILE.js
to FILE_js.urs.
Haskell platform (plus a couple of packages from Hackage) and POSIX
environment are required.
Regards,
Sergey
_______________________________________________
Ur mailing list
[email protected]
http://www.impredicative.com/cgi-bin/mailman/listinfo/ur