2014-05-15 18:58:25 +04:00
|
|
|
install-with-test-support:
|
|
|
|
cabal install --enable-tests
|
|
|
|
echo "Make certain you have an elasticsearch instance on localhost:9200 !"
|
|
|
|
cabal test
|
2014-04-07 03:29:46 +04:00
|
|
|
|
|
|
|
test:
|
2014-05-15 18:58:25 +04:00
|
|
|
echo "Make certain you have an elasticsearch instance on localhost:9200 !"
|
2014-04-27 09:49:44 +04:00
|
|
|
cabal test
|
2014-04-07 03:29:46 +04:00
|
|
|
|
|
|
|
build:
|
|
|
|
cabal build
|
|
|
|
|
|
|
|
test-repl:
|
|
|
|
cabal repl tests
|
|
|
|
|
|
|
|
repl:
|
|
|
|
cabal repl
|
2014-05-03 20:41:46 +04:00
|
|
|
|
|
|
|
reset:
|
|
|
|
rm -rf .cabal-sandbox
|
|
|
|
cabal sandbox init
|
|
|
|
|
|
|
|
haddock:
|
2014-05-04 02:38:25 +04:00
|
|
|
cabal haddock --hyperlink-source --html-location='http://hackage.haskell.org/package/bloodhound/docs' --contents-location='http://hackage.haskell.org/package/bloodhound'
|
|
|
|
|
|
|
|
# cp -R ./dist/doc/html/bloodhound/ bloodhound-0.1.0.1-docs
|
|
|
|
# tar cvzf --format=ustar -f bloodhound-0.1.0.1-docs.tar.gz bloodhound-0.1.0.1-docs
|
|
|
|
# curl -X PUT -H 'Content-Type: application/x-tar' -H 'Content-Encoding: gzip' --data-binary '@bloodhound-0.1.0.1-docs.tar.gz' 'http://bitemyapp:$PASSWORD@hackage.haskell.org/package/bloodhound-0.1.0.1/docs'
|