mirror of
https://github.com/haskell/haskell-language-server.git
synced 2024-09-11 08:45:35 +03:00
411db02883
* Update pre-commit hook to include changing line endings
* Fix non-lf lines
* Check pre-commit excludes files
* Revert "Check pre-commit excludes files"
This reverts commit
|
||
---|---|---|
.. | ||
data | ||
ts | ||
profile.html | ||
README.md | ||
shake.js |
Shake HTML
HTML files originally used by Shake and now by hls-graph, for profiling build runs.
Files
profile.html
is the actual profiler.profile-data.js
,progress-data.js
andmetadata.js
are files with sample data, matching that generated by the compiler.shake.js
is generated from the code ints
.
Development
Before doing any work you need the jQuery, Flot and dgtable JavaScript dependencies. These can be found in the js-jquery
, js-flot
and js-dgtable
repos. Copy the associated JavaScript files into a lib
directory, renaming to take away version numbers and .min
parts.
To build and test shake.js
from html
run:
tsc -p ts # generated shake.js
tslint -p ts # run the linter
Or, for the one liner:
tsc -p ts && tslint -p ts
To test out the profile.html
just open it after doing the above steps.