Clone the problem specifications into a subdirectory if it doesn't already exist
This enables us to point configlet at a known location where it should exist,
which in turn should make Travis happier with this.
@@ -4,6 +4,10 @@ if [ ! -x bin/configlet ]; then
exit 1
fi
+if [ ! -d "problem-specifications" ]; then
+ git clone git@github.com:exercism/problem-specifications.git problem-specifications
+fi
+
newline=$'\n '
missing_readmes=""
@@ -16,7 +20,7 @@ for exercise in $(git diff --name-only master..$(git rev-parse --abbrev-ref HEAD
else
existing_readme_checksum=$(md5sum $readme_path | cut -d' ' -f1)
# generate the new README
- bin/configlet generate . --only "$exercise"
+ bin/configlet generate . --only "$exercise" --spec-path "problem-specifications"
generated_readme_checksum=$(md5sum $readme_path | cut -d' ' -f1)
if [ $existing_readme_checksum != $generated_readme_checksum ]; then
