1 cabal = $(wildcard *.cabal)
 
   2 package = $(notdir ./$(cabal:.cabal=))
 
   3 version = $(shell sed -ne 's/^version: *\(.*\)/\1/p' $(cabal))
 
  13         cabal test -fdump-splices --test-show-details always --test-options "--color always --size-cutoff 100000"
 
  15         cabal test --test-show-details always --test-options "--accept --color always --size-cutoff 100000"
 
  17         cabal test --enable-profiling --enable-library-coverage --enable-coverage --test-show-details always
 
  19         cabal repl --enable-tests symantic-parser-test
 
  21         shopt -s globstar; $$EDITOR dist-newstyle/build/**/t/**/*.dump-splices
 
  24         cabal haddock --haddock-css ocean --haddock-hyperlink-source
 
  27         git tag --merged | grep -Fqx "$(package)-$(version)" || \
 
  28         git tag -f -s -m "$(package) v$(version)" $(package)-$(version)
 
  32         cabal haddock --haddock-for-hackage --enable-doc
 
  35         cabal upload --publish dist-newstyle/sdist/$(package)-$(version).tar.gz
 
  36         cabal upload --publish --documentation dist-newstyle/$(package)-$(version)-docs.tar.gz
 
  41         nix flake update --recreate-lock-file
 
  43         nix -L develop --command cabal repl