Skip to content

Commit

Permalink
put spotlight disable in circle.yml to make running ci.sh safe locally
Browse files Browse the repository at this point in the history
  • Loading branch information
Dane Springmeyer committed Aug 9, 2016
1 parent a477fa4 commit d1996b1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
5 changes: 0 additions & 5 deletions ci.sh
Expand Up @@ -9,11 +9,6 @@ set -o pipefail
# add npm packages to $PATH
export PATH=$(pwd)/node_modules/.bin:$PATH

# disable spotlight to ensure we waste no CPU on needless file indexing
if [[ $(uname -s) == 'Darwin' ]]; then
sudo mdutil -i off /
fi

# set up code coverage instrumentation
rm -rf coverage .nyc_output

Expand Down
2 changes: 2 additions & 0 deletions circle.yml
Expand Up @@ -10,6 +10,8 @@ dependencies:
cache_directories:
- './nvm'
override:
# disable spotlight to ensure we waste no CPU on needless file indexing
- if [[ $(uname -s) == 'Darwin' ]]; then sudo mdutil -i off /; fi;
- |
if [[ ! -d ./nvm ]]; then
git clone --depth 1 https://github.com/creationix/nvm.git ./nvm
Expand Down

0 comments on commit d1996b1

Please sign in to comment.