Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Embed resources into executables that link to the library #27

Closed
HeinrichApfelmus opened this issue May 17, 2013 · 2 comments
Closed

Embed resources into executables that link to the library #27

HeinrichApfelmus opened this issue May 17, 2013 · 2 comments

Comments

@HeinrichApfelmus
Copy link
Owner

To make installation of executables that use this library simple, the library should include all necessary resources, like the JS driver code or HTML pages, in the compiled executable and not refer to any outside directories.

This can be done using QuasiQuotation, but unfortunately, this triggers a bug in Haddock #12 , so I have disabled this feature for now.

@HeinrichApfelmus
Copy link
Owner Author

It would also be nice if library users could include their custom CSS files with QuasiQuotation as well.

duplode added a commit to duplode/threepenny-gui that referenced this issue Sep 7, 2013
To work around the Haddock bug, a seemingly superfluous TemplateHaskell pragma
was added to 'Graphics.UI.Threepenny.Internal.Include'.
HeinrichApfelmus added a commit that referenced this issue Sep 7, 2013
Enable resource file embedding. #27
@HeinrichApfelmus
Copy link
Owner Author

Apparently, quasiquotation works pretty well for the core library. I'll close this issue, any remaining desires for embedding application specific resources are subsumed by issue #52 .

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant