1
1
mirror of https://github.com/github/semantic.git synced 2024-12-23 23:11:50 +03:00

Build a separate target when profiling

This commit is contained in:
joshvera 2015-12-10 23:15:24 -05:00
parent f328da82f6
commit c8b5cad4e4

View File

@ -53,6 +53,26 @@ executable semantic-diff-exe
extra-libraries: bridge extra-libraries: bridge
extra-lib-dirs: . 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 test-suite semantic-diff-test
type: exitcode-stdio-1.0 type: exitcode-stdio-1.0
hs-source-dirs: test hs-source-dirs: test