Added Makefile for development.
This commit is contained in:
parent
6561ce0ec1
commit
db2106c57d
1 changed files with 27 additions and 0 deletions
27
Makefile
Normal file
27
Makefile
Normal file
|
@ -0,0 +1,27 @@
|
|||
# This Makefile is for development only. It requires cabal-dev.
|
||||
# To get started, do 'make prep' and then 'make' or 'make quick'.
|
||||
|
||||
.PHONY: prep, all, quick, bench, clean
|
||||
all:
|
||||
cabal-dev configure --enable-tests --enable-benchmarks && cabal-dev build
|
||||
|
||||
prep: pandoc-types citeproc-hs
|
||||
cabal-dev install-deps --enable-tests --enable-benchmarks
|
||||
|
||||
quick:
|
||||
cabal-dev configure --enable-tests --disable-optimization && cabal-dev build
|
||||
|
||||
bench:
|
||||
cabal-dev configure --enable-benchmarks && cabal-dev build
|
||||
|
||||
clean:
|
||||
cabal-dev clean
|
||||
|
||||
pandoc-types:
|
||||
git clone https://github.com/jgm/pandoc-types && \
|
||||
cabal-dev add-source pandoc-types
|
||||
|
||||
citeproc-hs:
|
||||
git clone https://github.com/jgm/citeproc-hs && \
|
||||
cabal-dev add-source citeproc-hs
|
||||
|
Loading…
Reference in a new issue