1
1
mirror of https://github.com/github/semantic.git synced 2024-11-28 18:23:44 +03:00
semantic/.gitignore
Patrick Thomson 9eb470680f Build --profile builds in a separate stack-work directory.
Profiling builds are good and useful, but the fact that you have to
rebuild the world when switching between profiling and and standard
builds makes them too much of a timesink to actually use. This patch
avoids the above effect by keeping profiling build artifacts in a
`.stack-work-profiling` directory. It depends on a few other patches
to ignore said directories in our vendored dependencies.

To test, install `profiteur` and `hp2pretty`, run
`script/profile "parse $SOME_SOURCE_FILE"`, then break for lunch. You
should get nice information from the profiling system without
recompiling on further `stack build` invocations.

I learned this from [Matt Parsons](https://twitter.com/mattoflambda/status/997599878216802305).
2018-06-25 15:34:20 -04:00

30 lines
251 B
Plaintext

.DS_Store
.stack-work
.stack-work-profiling
profiles
tags
cabal.project.local
dist
dist-newstyle
.ghc.environment.*
tmp/
bin/
/test/fixtures/*/examples
*.hp
*.prof
*.pyc
/test.*
/*.html
.bundle/
.licenses/vendor/gems
.licenses/log/
codex.tags