X-Git-Url: https://git.sourcephile.fr/haskell/symantic-parser.git/blobdiff_plain/5fdbd7af7a093628a6295ccea245e5fa387a409b..b24b6eaa58fb6ece01736562fa71ce006e675990:/Makefile diff --git a/Makefile b/Makefile index 394240c..8369082 100644 --- a/Makefile +++ b/Makefile @@ -10,7 +10,7 @@ repl: cabal repl t: - cabal test -fdump-splice --test-show-details always --test-options "--color always --size-cutoff 100000" + cabal test -fdump-splices --test-show-details always --test-options "--color always --size-cutoff 100000" t/accept: cabal test --test-show-details always --test-options "--accept --color always --size-cutoff 100000" t/prof: @@ -32,8 +32,12 @@ tar: cabal haddock --haddock-for-hackage --enable-doc upload: LANG=C upload: tar - cabal upload --publish dist-newstyle/sdist/$(package)-$(version).tar.gz - cabal upload --publish --documentation dist-newstyle/$(package)-$(version)-docs.tar.gz + cabal upload $(CABAL_UPLOAD_FLAGS) dist-newstyle/sdist/$(package)-$(version).tar.gz + cabal upload $(CABAL_UPLOAD_FLAGS) --documentation dist-newstyle/$(package)-$(version)-docs.tar.gz +%/publish: CABAL_UPLOAD_FLAGS+=--publish +%/publish: % + +publish: upload/publish nix-build: nix -L build