]> Dogcows Code - chaz/p5-File-KDBX/blobdiff - Makefile
Fix CryptX 0.062 functionality change
[chaz/p5-File-KDBX] / Makefile
index 8d46f020f20dfb9e9410ee5394ced97685a6088f..49ebee8f5b30c71b478b2f38685b7b98287339b4 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -4,16 +4,17 @@
 CPANM   = cpanm
 COVER   = cover
 DZIL    = dzil
+PERL    = perl
 PROVE   = prove
 
-.PHONY: all bootstrap clean cover dist test
+cpanm_env = AUTHOR_TESTING=0 RELEASE_TESTING=0
 
-all: bootstrap dist
+all: dist
 
 bootstrap:
-       $(CPANM) Dist::Zilla
-       $(DZIL) authordeps --missing | $(CPANM)
-       $(DZIL) listdeps --develop --missing | $(CPANM)
+       $(cpanm_env) $(CPANM) -nq Dist::Zilla
+       $(DZIL) authordeps --missing |$(cpanm_env) $(CPANM) -nq
+       $(DZIL) listdeps --develop --missing |$(cpanm_env) $(CPANM) -nq
 
 clean:
        $(DZIL) $@
@@ -24,6 +25,18 @@ cover:
 dist:
        $(DZIL) build
 
+distclean: clean
+       $(RM) -r cover_db
+
 test:
-       $(PROVE) -l $(if $(V),-v)
+       $(PROVE) -l $(if $(V),-vj1)
+
+smoke:
+       smoke-all file-kdbx File-KDBX-$V.tar.gz
+
+smokers:
+       $(DZIL) listdeps --no-recommends --no-suggests --no-develop --cpanm-versions \
+       |$(PERL) -pe 's/"//g' \
+       |build-perl-smokers file-kdbx
 
+.PHONY: all bootstrap clean cover dist distclean smoke smokers test
This page took 0.023546 seconds and 4 git commands to generate.