Skip to content

Commit

Permalink
Merge pull request #585 from yuya-oc/yarn
Browse files Browse the repository at this point in the history
Use Yarn to manage dependencies
  • Loading branch information
yuya-oc authored Oct 11, 2017
2 parents cf19640 + eacd611 commit 84dc9d9
Show file tree
Hide file tree
Showing 4 changed files with 6,337 additions and 2 deletions.
9 changes: 8 additions & 1 deletion circle.yml
Original file line number Diff line number Diff line change
@@ -1,11 +1,16 @@
machine:
node:
version: 6.1.0
version: 6.11.3

dependencies:
cache_directories:
- "src/node_modules"
- ~/.cache/yarn
override:
- yarn
post:
- if git status --short | grep yarn\.lock; then echo 'yarn.lock is not updated'; false; else true; fi

- sudo dpkg --add-architecture i386
- sudo add-apt-repository ppa:ubuntu-wine/ppa -y
- sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 3FA7E0328081BFF6A14DA29AA6A19B38D3D831EF
Expand All @@ -25,5 +30,7 @@ dependencies:
- sh -x ./scripts/cp_artifacts.sh release $CIRCLE_ARTIFACTS

test:
override:
- yarn test
post:
- mv test-results.xml $CIRCLE_TEST_REPORTS/
3 changes: 2 additions & 1 deletion docs/development.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,14 @@
- C++ environment which supports C++11 (e.g. VS 2015, Xcode, GCC)
- Python 2.7
- Node.js 4.2.0 or later
- Yarn
- Git

### Installing dependencies
After installation, dependencies of `src/` directory are also installed.

```
$ npm install
$ yarn
```

### Building
Expand Down
Loading

0 comments on commit 84dc9d9

Please sign in to comment.