git.iko.soy/typeable/servant
on v0.18.2 help sign in
32 lines 742 B history raw
1# With common maintenance tasks
3HC ?= ghc-8.4.4
5all :
6 @echo "Don't try to make all at once!"
8really-all :
9 $(MAKE) build-ghc
10 $(MAKE) build-ghc HC=ghc-8.0.2
11 $(MAKE) build-ghc HC=ghc-8.2.2
12 $(MAKE) build-ghc HC=ghc-8.6.5
13 $(MAKE) build-ghcjs
15build-ghc :
16 cabal v2-build -w $(HC) all
18build-ghcjs :
19 cabal v2-build --builddir=dist-newstyle-ghcjs --project-file=cabal.ghcjs.project all
21packdeps :
22 packdeps */*.cabal
24doctest : doctest-servant doctest-servant-server
25 perl -i -e 'while (<ARGV>) { print unless /package-id\s+base-compat-\d+(\.\d+)*/; }' .ghc.environment.*
27doctest-servant :
28 (cd servant && doctest src)
29 (cd servant && doctest test/Servant/LinksSpec.hs)
31doctest-servant-server :
32 (cd servant-server && doctest src)