1 cabal = $(shell find . -maxdepth 1 -name '*.cabal' -print -quit)
2 package = $(notdir ./$(cabal:.cabal=))
10 cabal test --test-show-details always --test-options "--color always --size-cutoff 100000"
12 cabal repl --enable-tests symantic-parser-test
14 cabal test --enable-profiling --enable-library-coverage --enable-coverage --test-show-details always
16 cabal test --test-show-details always --test-options "--accept --color always --size-cutoff 100000"
19 cabal haddock --haddock-css ocean --haddock-hyperlink-source
22 name=$$(sed -ne 's/^name: *\(.*\)/\1/p' "$(cabal)"); \
23 version=$$(sed -ne 's/^version: *\(.*\)/\1/p' "$(cabal)"); \
24 git tag --merged | grep -Fqx "$$name-$$version" || \
25 git tag -f -s -m "$$name v$$version" $$name-$$version