mirror of
https://github.com/github/semantic.git
synced 2024-12-23 14:54:16 +03:00
Build a separate target when profiling
This commit is contained in:
parent
f328da82f6
commit
c8b5cad4e4
@ -53,6 +53,26 @@ executable semantic-diff-exe
|
||||
extra-libraries: bridge
|
||||
extra-lib-dirs: .
|
||||
|
||||
executable semantic-diff-profile
|
||||
hs-source-dirs: app
|
||||
main-is: Main.hs
|
||||
other-modules: TreeSitter
|
||||
ghc-options: -O2
|
||||
-threaded
|
||||
-fprof-auto
|
||||
"-with-rtsopts=-N -p -s -h -i0.1"
|
||||
build-depends: base
|
||||
, containers
|
||||
, free
|
||||
, semantic-diff
|
||||
, bytestring
|
||||
, optparse-applicative
|
||||
, filepath
|
||||
, profiteur
|
||||
default-language: Haskell2010
|
||||
extra-libraries: bridge
|
||||
extra-lib-dirs: .
|
||||
|
||||
test-suite semantic-diff-test
|
||||
type: exitcode-stdio-1.0
|
||||
hs-source-dirs: test
|
||||
|
Loading…
Reference in New Issue
Block a user