Skip to content

Commit

Permalink
Use cabal project import mechanism
Browse files Browse the repository at this point in the history
  • Loading branch information
LaurentRDC committed Jan 12, 2024
1 parent a709c54 commit 593413e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 11 deletions.
3 changes: 1 addition & 2 deletions cabal.project.benchmarking
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
packages: **/*.cabal
benchmarks: true
import: cabal.project

-- Optimization level for the package itself
optimization: 2
Expand Down
11 changes: 2 additions & 9 deletions cabal.project.profiling
Original file line number Diff line number Diff line change
@@ -1,13 +1,6 @@
packages: **/*.cabal
test-show-details: streaming
import: cabal.project.benchmarking

-- Optimization level for the package itself
profiling: True
library-profiling: True
executable-profiling: True
optimization: 2

-- Required to optimize all dependencies as well
package *
optimization: 2
documentation: false
executable-profiling: True

0 comments on commit 593413e

Please sign in to comment.