]> Dogcows Code - chaz/git-codeowners/blob - Makefile
Release App-Codeowners 0.50
[chaz/git-codeowners] / Makefile
1
2 # This is not a Perl distribution, but it can build one using Dist::Zilla.
3
4 COVER = cover
5 CPANM = cpanm
6 DZIL = dzil
7 PERL = perl
8 PERLCRITIC = perlcritic
9 PROVE = prove
10
11 all: dist
12
13 bootstrap:
14 $(CPANM) $(CPANM_FLAGS) -n Dist::Zilla
15 $(DZIL) authordeps --missing |$(CPANM) $(CPANM_FLAGS) -n
16 $(DZIL) listdeps --develop --missing |$(CPANM) $(CPANM_FLAGS) -n
17
18 check:
19 $(PERLCRITIC) bin lib t
20
21 clean:
22 $(DZIL) $@
23
24 cover:
25 $(COVER) -test
26
27 debug:
28 $(PERL) -Ilib -d bin/git-codeowners $(GIT_CODEOWNERS_FLAGS)
29
30 dist:
31 $(DZIL) build
32
33 distclean: clean
34 rm -rf .build cover_db fatlib git-codeowners
35
36 run:
37 $(PERL) -Ilib bin/git-codeowners $(GIT_CODEOWNERS_FLAGS)
38
39 test:
40 $(PROVE) -l$(if $(findstring 1,$(V)),v) t
41
42 .PHONY: all bootstrap check clean cover debug dist distclean run test
43
This page took 0.030287 seconds and 4 git commands to generate.