New fields/flags and semantics for GHCJS

Luite Stegeman stegeman at gmail.com
Sat Nov 1 00:02:36 UTC 2014


One more thing I had forgotten to mention, and still need to implement in
GHCJS:

If a library has web assets, for example CSS files or images for a GUI
framework library, they should be listed under `data-files` of a package.
The compiler then makes all data directories of dependencies available in a
subdirectory of the directory containing the generated JavaScript and HTML
files. Libraries then use their own "Paths_packagename" module to find the
location. Location should probably be based on the package key, not the
package version, so this requires #2194 to be resolved first.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.haskell.org/pipermail/cabal-devel/attachments/20141101/5db8097c/attachment.html>


More information about the cabal-devel mailing list