X-Git-Url: https://git.dogcows.com/gitweb?p=chaz%2Fp5-File-KDBX;a=blobdiff_plain;f=Makefile;h=2a0c7602b4cfee2f5451ba292df3b445ca189f0a;hp=8d46f020f20dfb9e9410ee5394ced97685a6088f;hb=f63182fc62b25269b1c38588dca2b3535ed1a1a2;hpb=e2deca75a6040911441e0d7c4430aeae9be69e40 diff --git a/Makefile b/Makefile index 8d46f02..2a0c760 100644 --- 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) $@ @@ -25,5 +26,14 @@ dist: $(DZIL) build 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 smoke smokers test