~kaction/cookiecutter-haskell

85080d0d — Dmitry Bogatov 1 year, 7 months ago master
Remove "-exe" suffix of executable from package.yaml

This suffix looks unnatural in Unix world.
729a48c2 — Dmitry Bogatov 1 year, 7 months ago
Fix main/Main.hs to print text, not <<loop>>
17574b1f — Dmitry Bogatov 1 year, 10 months ago
Change default license from BSD3 to AGPL3

I doubt I will ever bother to sue anybody over license of my haskell libraries,
but intentions matter, aren't they?
48349e7e — Dmitry Bogatov 1 year, 10 months ago
Drop hedgehog from dependencies of tests

I don't really like groundhog, and I see absolutely no reason why it would be
default dependency for tests.
c1b1a129 — Dmitry Bogatov 1 year, 10 months ago
Extend list of default dependencies with ubiquitous stuff
b778f90f — Dmitry Bogatov 1 year, 10 months ago
Replace reference to github repository with sourcehut
1f98496c — Dmitry Bogatov 1 year, 10 months ago
Setup treefmt/alejandra in containing directory
56b8d2c5 — Dmitry Bogatov 1 year, 10 months ago
Configure treefmt(1) to reformat Nix files with alejandra(1)

Not that I like style of alejandra(1) or I like its advertisements,
but it seems to be best-maintained reformatter around.
2e1f1acb — Dmitry Bogatov 1 year, 10 months ago
Add treefmt.toml to automatically reformat sources

Additionally, tweak make package derivation fail to build if sources is
formatted incorrectly.
b061939c — Dmitry Bogatov 1 year, 10 months ago
Move definition of "main" into the library

It increases library size in case library has any use on its own, but makes
development in "ghci" so much more convenient.
e3280711 — Dmitry Bogatov 1 year, 10 months ago
Drop "use_hpack" configuration option

hpack is so much better is any way than obscure "cabal" format, I don't know
why would anybody would prefer raw "cabal".
Update sources & compiler
ci: Also test on MacOS
Use ghc901 && Update the sources
ci: Update cachix and install-nix actions
d88ac1eb — Deniz Alp Durmaz 2 years ago
[#25] Add step name and update run command to be multiline (#26)

92478119 — Barry Moore 2 years ago
Allow user to select library or executable (#22)

* Allow user to select library or executable

* Need to dedent the endif in default.nix

* Use choice variable for add_executable_section

* Use matrix strategy in github actions to test all combinations

* Use argstr, not attr

* Use double quotes

* Use multiline string operator

Co-authored-by: Utku Demir <me@utdemir.com>

* Use forward slash to split cookiecutter command up a bit

Co-authored-by: Utku Demir <me@utdemir.com>

* Remove chomping character from multi-line yaml

* Switch to yes/no use_hpack prompt, no multiline github action

Co-authored-by: Utku Demir <me@utdemir.com>
Actually run the build on the CI
33a19915 — Barry Moore 2 years ago
Fix markdown link for hpack
7f454cf9 — Barry Moore 2 years ago
Add some documentation for hpack; fix default.nix template
Next