mirror of
https://github.com/haskell/haskell-language-server.git
synced 2024-11-10 15:14:48 +03:00
Merge pull request #259 from haskell/remove-redundant-circleci-steps
Remove redundant CircleCI steps
This commit is contained in:
commit
3dbfa68bae
@ -34,14 +34,6 @@ defaults: &defaults
|
||||
name: Stack setup
|
||||
command: stack -j 2 --stack-yaml=${STACK_FILE} setup
|
||||
|
||||
- run:
|
||||
name: Install happy
|
||||
command: stack --stack-yaml=${STACK_FILE} install happy
|
||||
|
||||
- run:
|
||||
name: Install Hoogle
|
||||
command: stack -j 1 --stack-yaml=${STACK_FILE} install hoogle
|
||||
|
||||
- run:
|
||||
name: Build (we need the exe for tests)
|
||||
command: stack -j 1 --stack-yaml=${STACK_FILE} install
|
||||
@ -57,20 +49,10 @@ defaults: &defaults
|
||||
path: ~/.local/bin
|
||||
destination: bin
|
||||
|
||||
- run:
|
||||
name: Generate Hoogle database
|
||||
command: if [ ! -d ~/.hoogle ]; then stack --stack-yaml=${STACK_FILE} exec hoogle generate; fi
|
||||
|
||||
- run:
|
||||
name: Clear cabal-helper cache
|
||||
command: rm -fr ~/.cache/cabal-helper
|
||||
|
||||
- save_cache:
|
||||
key: stack-cache-{{ .Environment.HIE_CACHE }}-{{ arch }}-{{ .Environment.CIRCLE_JOB }}-{{ checksum "resolver.txt" }}
|
||||
paths: &cache_paths
|
||||
- ~/.stack
|
||||
- ~/.cache
|
||||
- ~/.hoogle
|
||||
- ~/build/.stack-work
|
||||
- ~/build/ghcide/.stack-work
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user