Commits

Bryan O'Sullivan  committed 7661337

Add a developer flag.

  • Participants
  • Parent commits b6afb9d

Comments (0)

Files changed (1)

File http-load-tester.cabal

 extra-source-files:  
     README.markdown
 
+flag developer
+  description: operate in developer mode
+  default: False
+
 library
   hs-source-dirs: lib
   exposed-modules:
     Network.HTTP.LoadTest
 
   ghc-options: -Wall
+  if flag(developer)
+    ghc-prof-options: -auto-all
 
   build-depends:
     base < 5,
   main-is:        App.hs
 
   ghc-options: -threaded -rtsopts -Wall
+  if flag(developer)
+    ghc-prof-options: -auto-all
 
   build-depends:
     base < 5,