Skip to content

Commit

Permalink
feat: Electron build
Browse files Browse the repository at this point in the history
  • Loading branch information
xxuejie committed Jun 5, 2020
1 parent 86f1261 commit 07958a9
Show file tree
Hide file tree
Showing 4 changed files with 334 additions and 2 deletions.
13 changes: 13 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,19 @@ script:
- git diff --exit-code
- if [ -n "$TRAVIS_TAG" ]; then cd packages/indexer; rm -rf build; npm run package; fi

jobs:
include:
- os: osx
script:
- if [ -n "$TRAVIS_TAG" ]; then lerna run build-for-electron; cd packages/indexer; rm -rf build; npm run package; fi
- os: linux
dist: bionic
script:
- if [ -n "$TRAVIS_TAG" ]; then lerna run build-for-electron; cd packages/indexer; rm -rf build; npm run package; fi
- os: windows
script:
- if [ -n "$TRAVIS_TAG" ]; then lerna run build-for-electron; cd packages/indexer; rm -rf build; npm run package; fi

deploy:
- provider: releases
skip_cleanup: true
Expand Down
320 changes: 318 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 2 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@
"private": true,
"devDependencies": {
"ava": "^3.8.2",
"electron-build-env": "^0.2.0",
"electron-rebuild": "^1.11.0",
"eslint": "^7.1.0",
"lerna": "^3.20.2",
"prettier": "^2.0.5"
Expand Down
Loading

0 comments on commit 07958a9

Please sign in to comment.