Skip to content

Commit 67713c4

Browse files
committed
add a META6.json. Simplify install-deps rule in the Makefile
1 parent 4fc79e3 commit 67713c4

File tree

2 files changed

+12
-21
lines changed

2 files changed

+12
-21
lines changed

META6.json

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
{
2+
"perl" : "6.*",
3+
"name" : "pdf-examples",
4+
"version" : "0.0.1",
5+
"auth" : "github:perl6",
6+
"description" : "Many examples of Perl 6 code",
7+
"depends" : [ "URI", "Pod::To::HTML", "LWP::Simple", "Algorithm::Soundex", "DBIish", "File::Temp", "Text::VimColour", "HTTP::Easy", "Terminal::ANSIColor", "Web::Request", "Term::termios" ],
8+
"source-url" : "git://github.com/perl6/perl6-examples",
9+
"provides" : {
10+
}
11+
}

Makefile

Lines changed: 1 addition & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,5 @@
11
.PHONY: html run-all test help
22

3-
EXAMPLES_DEPS = \
4-
URI \
5-
Pod::To::HTML \
6-
LWP::Simple \
7-
Algorithm::Soundex \
8-
DBIish \
9-
File::Temp \
10-
Text::VimColour \
11-
HTTP::Easy \
12-
Terminal::ANSIColor \
13-
Web::Request \
14-
Term::termios
15-
163
help:
174
@echo "Usage: make <option>"
185
@echo ""
@@ -43,11 +30,4 @@ test: install-deps
4330

4431
install-deps:
4532
@echo "*** Installing dependencies ***"
46-
for dep in $(EXAMPLES_DEPS);\
47-
do\
48-
perl6 -e "use $$dep" 2> /dev/null;\
49-
if [ $$? != 0 ];\
50-
then\
51-
panda --notests install $$dep;\
52-
fi;\
53-
done
33+
panda --notests installdeps .

0 commit comments

Comments
 (0)