Skip to content
This repository has been archived by the owner on Apr 7, 2023. It is now read-only.

Commit

Permalink
Automate release
Browse files Browse the repository at this point in the history
  • Loading branch information
k0kubun committed Sep 7, 2015
1 parent 24f6e45 commit c3d7010
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,14 +48,14 @@ Regard Cmd as Windows or Meta key if you're not using OSX.

```bash
$ npm install
$ npm run bower
$ npm run setup
$ npm start
```

## Build package

```bash
$ npm build
$ npm run build
```

## License
Expand Down
4 changes: 3 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,12 @@
"license": "MIT",
"scripts": {
"start": "npm run compile && electron .",
"bower": "gulp bower",
"setup": "brew install tcnksm/ghr/ghr && gulp bower",
"compile": "rm -rf app && gulp compile",
"build": "find . -name .DS_Store | xargs rm && rm -rf packages && npm run package && npm run zip",
"package": "electron-packager . Nocturn --arch=x64 --out=packages/v0.1.4 --platform=darwin,linux,win32 --version=0.31.0 --ignore=accounts.json --ignore=packages/* --ignore=node_modules/bower --ignore=node_modules/coffee-script --ignore=node_modules/electron-prebuilt --ignore=node_modules/electron-packager --ignore=node_modules/gulp --ignore=node_modules/gulp-bower --ignore=node_modules/gulp-coffee --ignore=node_modules/gulp-haml --ignore=node_modules/gulp-ruby-sass",
"upload": "ghr v0.1.4 packages/",
"release": "npm run build && npm run upload",
"zip": "npm run zip-darwin && npm run zip-linux && npm run zip-win32",
"zip-darwin": "cd packages/v0.1.4 && zip -r Nocturn-darwin-x64.zip Nocturn-darwin-x64",
"zip-linux": "cd packages/v0.1.4 && zip -r Nocturn-linux-x64.zip Nocturn-linux-x64",
Expand Down

0 comments on commit c3d7010

Please sign in to comment.