Cache ~/.hoogle

This commit is contained in:
Luke Lau 2019-01-07 17:36:30 -05:00
parent 14f4701952
commit 0826776eb8

View File

@ -52,7 +52,7 @@ defaults: &defaults
- run:
name: Generate Hoogle database
command: stack --stack-yaml=${STACK_FILE} exec hoogle generate
command: if [ -d ~/.hoogle ]; then stack --stack-yaml=${STACK_FILE} exec hoogle generate; fi
- run:
name: Clear cabal-helper cache
@ -63,6 +63,7 @@ defaults: &defaults
paths: &cache_paths
- ~/.stack
- ~/.cache
- ~/.hoogle
- ~/build/.stack-work
- ~/build/hie-plugin-api/.stack-work
- ~/build/submodules/HaRe/.stack-work