#945409 missing /usr/share/haskell-js-flot/jquery.flot.min.js

Package:
libghc-js-flot-dev
Source:
haskell-js-flot
Description:
bundles the jQuery Flot code into a Haskell package
Submitter:
Joey Hess
Date:
2019-11-24 14:54:04 UTC
Severity:
normal
#945409#5
Date:
2019-11-22 21:37:04 UTC
From:
To:
When I use criterion and ask it to output the benchmark to a file,
with -o foo, it crashes:

/usr/share/haskell-js-flot/jquery.flot.min.js: openFile: does not exist (No such file or directory)

I think that file needs to be included in this package.

However, it's perhaps worse than that, because what if a program that
depends on criterion, is installed, but the haskell development
environment is not? Then this package won't be installed either,
and it will still fail.

Once such program is git-annex, it has a built flag to enable a "git
annex benchmark" that uses criterion. That build flag is currently
disbabled by default.

To support such a program, it seems like the content of
jquery.flot.min.js should be included inside the library,
not as a separate file.