This project was initialized from a Nix flake template.
To get started, replace aggregate-drills
with the name of your project in
- the file name
aggregate-drills.cabal
(e.g. rename tomy-executable.cabal
) - module names in the file contents of
aggregate-drills.cabal
(e.g. withrg -l 'aggregate-drills' | xargs sed -i 's/aggregate-drills/my-executable/g'
)
Then run a nix build
to compile everything and run tests. You can verify
success with a nix run .
, which will call the program definedin app/Main.hs
.
hspec-discover
for automatic test discover (seeLibSpec
for an example)- some example dev/test/main dependencies in the
cabal
file - required plugins for ergonomic use of
hls
, including rename support cabal-install
so you can run tests manually as well for nicer output