Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

We can shorten our Travis cache paths #407

Closed
petertseng opened this issue Oct 21, 2016 · 0 comments
Closed

We can shorten our Travis cache paths #407

petertseng opened this issue Oct 21, 2016 · 0 comments

Comments

@petertseng
Copy link
Member

We discovered in #406 -

Right now our Travis cache paths look something like

/home/travis/.foldercache/home/travis/build/exercism/xhaskell/exercises/anagram/list-string/.stack-work/dist/x86_64-linux/Cabal-1.24.0.0/build/Anagram.dyn_hi

/home/travis/.foldercache/home/travis/build/exercism/xhaskell/exercises/anagram/list-string/.stack-work/dist/x86_64-linux/Cabal-1.24.0.0/build/Anagram.dyn_o

There are many unnecessary path components in there!! It can just be /home/travis/.foldercache/anagram/list-string/.stack-work/...

So we can instead of using .foldercache/${exercise}, use .foldercache/$(basename $exercise).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants