Skip to content

Commit

Permalink
Merge pull request #424 from rbasso/travis-shorten-paths
Browse files Browse the repository at this point in the history
travis: Use shorter paths for Stack's cache.
  • Loading branch information
rbasso authored Nov 8, 2016
2 parents 9f0af21 + 7048ca6 commit 43fc7ab
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,8 +58,10 @@ script:
else
for example in examples/*/ ; do
examplename=$(basename "$example")
mkdir -p "${HOME}/.foldercache/${exercise}/${examplename}/.stack-work"
ln -f -s "${HOME}/.foldercache/${exercise}/${examplename}/.stack-work"
exercisename=$(basename "$exercise")
examplecache="${HOME}/.foldercache/${exercisename}/${examplename}/.stack-work"
mkdir -p "$examplecache"
ln -f -s "$examplecache"
echo "testing ${example}"
rm -f src/*.hs
Expand Down

0 comments on commit 43fc7ab

Please sign in to comment.