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