Skip to content

Commit

Permalink
Merge pull request #276 from hardchor/fix-packaging
Browse files Browse the repository at this point in the history
Fix packaging
  • Loading branch information
hardchor authored Aug 30, 2017
2 parents 83dad31 + e1c460e commit 759f5b5
Show file tree
Hide file tree
Showing 7 changed files with 2,639 additions and 3,570 deletions.
3 changes: 3 additions & 0 deletions .env.dist
Original file line number Diff line number Diff line change
@@ -1,2 +1,5 @@
GITHUB_CLIENT_ID=
GITHUB_CLIENT_SECRET=
GH_TOKEN=
CSC_LINK=
CSC_KEY_PASSWORD=
32 changes: 0 additions & 32 deletions .travis.yml

This file was deleted.

15 changes: 7 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ git clone https://github.com/hardchor/timesheets.git
And then install dependencies.

```bash
$ cd timesheets && npm install
$ cd timesheets && yarn
```


Expand All @@ -32,34 +32,33 @@ $ cd timesheets && npm install
Run these two commands __simultaneously__ in different console tabs:

```bash
npm run hot-server
npm run start-hot
yarn hot-server
yarn start-hot
```

or run both with one command:

```bash
npm run dev
yarn dev
```

*Note: requires a node version >= 4 and an npm version >= 2.*
*Note: requires a node version >= 8 and yarn*


### Package and Release

To package the app for local testing, run:

```bash
npm run build
npm run pack
yarn dist
```

### Release

After you've bumped the version number in `app/package.json`, run:

```bash
GH_TOKEN=... CSC_NAME=... npm run release
GH_TOKEN=... CSC_NAME=... yarn release
```

Then, head over to https://github.com/hardchor/timesheets/releases and publish.
Expand Down
2 changes: 1 addition & 1 deletion app/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
"electron-debug": "^0.6.0",
"electron-json-storage": "^2.0.0",
"electron-positioner": "^3.0.0",
"electron-redux": "^1.2.0",
"electron-redux": "^1.2.5",
"lodash": "^4.13.1",
"material-design-lite": "^1.1.3",
"moment": "^2.13.0",
Expand Down
Loading

0 comments on commit 759f5b5

Please sign in to comment.