From 29ea3428174313f9da6cddac5400163bdce29c6f Mon Sep 17 00:00:00 2001 From: Steve Mynott Date: Thu, 27 Aug 2015 15:33:54 +0200 Subject: [PATCH] remove one list of dependencies and doc the others --- .travis.yml | 1 + README.md | 13 +++++-------- t/000-check-dependencies.t | 2 +- util/update-and-sync | 1 + 4 files changed, 8 insertions(+), 9 deletions(-) diff --git a/.travis.yml b/.travis.yml index 4afa669..e5b2fe8 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,3 +1,4 @@ +# XXX module deps added below should also go in 'util/update-and-sync' and the test sudo: false language: perl6 diff --git a/README.md b/README.md index 56da131..b1010c9 100644 --- a/README.md +++ b/README.md @@ -57,14 +57,11 @@ No need to submit a pull request! ## Dependencies -To run all examples and tests, the following modules need to be installed: - - URI - Pod::To::HTML - LWP::Simple - Algorithm::Soundex - DBIish - Text::VimColour +To run all examples and tests, a number of modules need to be installed. + +These are listed in '.travis.yml', 'util/update-and-sync' and the test. + +Ideally the list should be refactored and defined in fewer places. ## Running the examples diff --git a/t/000-check-dependencies.t b/t/000-check-dependencies.t index 8595ab8..e22c0f1 100644 --- a/t/000-check-dependencies.t +++ b/t/000-check-dependencies.t @@ -12,7 +12,7 @@ my @dependencies = qw{ Algorithm::Soundex DBIish File::Temp - HTTP::Easy::PSGI + HTTP::Easy }; for @dependencies -> $dep { diff --git a/util/update-and-sync b/util/update-and-sync index 47699bd..e9d138e 100755 --- a/util/update-and-sync +++ b/util/update-and-sync @@ -1,6 +1,7 @@ #!/bin/bash # this script is used on hack.p6c.org as the 'examples.perl6.org' user to update # the website. +# XXX module deps added below should also go in '.travis.yml' and the test set -e set -x