]> Dogcows Code - chaz/p5-File-KDBX/blob - Makefile
Fix test fail with older versions of Time::Piece
[chaz/p5-File-KDBX] / Makefile
1
2 # This is not a Perl distribution, but it can build one using Dist::Zilla.
3
4 CPANM = cpanm
5 COVER = cover
6 DZIL = dzil
7 PERL = perl
8 PROVE = prove
9
10 cpanm_env = AUTHOR_TESTING=0 RELEASE_TESTING=0
11
12 all: dist
13
14 bootstrap:
15 $(cpanm_env) $(CPANM) -nq Dist::Zilla
16 $(DZIL) authordeps --missing |$(cpanm_env) $(CPANM) -nq
17 $(DZIL) listdeps --develop --missing |$(cpanm_env) $(CPANM) -nq
18
19 clean:
20 $(DZIL) $@
21
22 cover:
23 $(COVER) -test
24
25 dist:
26 $(DZIL) build
27
28 test:
29 $(PROVE) -l $(if $(V),-vj1)
30
31 smoke:
32 smoke-all file-kdbx File-KDBX-$V.tar.gz
33
34 smokers:
35 $(DZIL) listdeps --no-recommends --no-suggests --no-develop --cpanm-versions \
36 |$(PERL) -pe 's/"//g' \
37 |build-perl-smokers file-kdbx
38
39 .PHONY: all bootstrap clean cover dist smoke smokers test
This page took 0.030737 seconds and 4 git commands to generate.