| 1 |
# Copyright 2022 Jeffrey Kegler |
| 2 |
# This file is part of Marpa::R2. Marpa::R2 is free software: you can |
| 3 |
# redistribute it and/or modify it under the terms of the GNU Lesser |
| 4 |
# General Public License as published by the Free Software Foundation, |
| 5 |
# either version 3 of the License, or (at your option) any later version. |
| 6 |
# |
| 7 |
# Marpa::R2 is distributed in the hope that it will be useful, |
| 8 |
# but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 9 |
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
| 10 |
# Lesser General Public License for more details. |
| 11 |
# |
| 12 |
# You should have received a copy of the GNU Lesser |
| 13 |
# General Public License along with Marpa::R2. If not, see |
| 14 |
# http://www.gnu.org/licenses/. |
| 15 |
|
| 16 |
.PHONY: all all_tests critic display tidy |
| 17 |
|
| 18 |
all: all_tests |
| 19 |
|
| 20 |
critic.list: ../MANIFEST create_critic_list.pl |
| 21 |
perl ./create_critic_list.pl > critic.list |
| 22 |
|
| 23 |
all_tests: critic.list |
| 24 |
-(cd ..; prove author.t/*.t ) 2>&1 | tee all.errs |
| 25 |
|
| 26 |
tidy: critic.list |
| 27 |
-(cd ..; prove author.t/tidy.t) 2>&1 | tee tidy.errs |
| 28 |
|
| 29 |
critic: critic.list |
| 30 |
-(cd ..; prove author.t/critic.t) 2>&1 | tee critic.errs |
| 31 |
|
| 32 |
display: |
| 33 |
-(cd ..; prove author.t/display.t) 2>&1 | tee display.errs |
| 34 |
|
| 35 |
pod: |
| 36 |
-(cd ..; prove author.t/pod.t) |