Skip to content

Commit

Permalink
Merge pull request #51 from abakusbackup/yarn
Browse files Browse the repository at this point in the history
Use the new awesome YARN package manager
  • Loading branch information
larseen authored Oct 25, 2016
2 parents 8e2b53c + dbbd0d7 commit 257bc99
Show file tree
Hide file tree
Showing 3 changed files with 8,125 additions and 6 deletions.
5 changes: 3 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
## Getting started
```bash
$ npm install
$ npm run dev
$ npm install -g yarnpkg
$ yarn
$ yarn run dev
```
14 changes: 10 additions & 4 deletions circle.yml
Original file line number Diff line number Diff line change
@@ -1,18 +1,24 @@
machine:
node:
version: 6.6.0
version: 6.7.0

dependencies:
pre:
- npm install -g yarnpkg
override:
- yarn

test:
override:
- npm run lint
- npm run flow || true
- yarn run lint
- yarn run flow || true

deployment:
release:
branch: release
commands:
- go get github.com/aktau/github-release
- npm run package-all
- yarn run package-all
- "PACKAGE_VERSION=$(cat package.json | grep version | head -1 | awk -F: '{ print $2 }' | sed 's/[\",]//g' | tr -d '[[:space:]]') github-release release --tag $PACKAGE_VERSION"
- zip -r release/abacash-v$PACKAGE_VERSION-darwin-x64 .zip release/darwin-x64
- "PACKAGE_VERSION=$(cat package.json | grep version | head -1 | awk -F: '{ print $2 }' | sed 's/[\",]//g' | tr -d '[[:space:]]') github-release upload --tag $PACKAGE_VERSION --file release/abacash-v$PACKAGE_VERSION-darwin-x64 --name abacash-v$PACKAGE_VERSION-darwin-x64"
Expand Down
Loading

0 comments on commit 257bc99

Please sign in to comment.