Skip to content
This repository was archived by the owner on Oct 26, 2019. It is now read-only.

Commit 8e81d73

Browse files
author
Blaine Schmeisser
authored
Merge pull request #203 from tinytacoteam/feature/electron-builder
Switch to electron builder.
2 parents 1782d11 + 660af24 commit 8e81d73

28 files changed

+142
-909
lines changed

.github/CONTRIBUTING.md

Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,45 @@
1+
## Getting Involved
2+
3+
### What's being worked on now
4+
5+
The core team tracks what is currently being worked on on the [Zazu Project
6+
Board][Zazu Project Board].
7+
8+
### Zazu Core
9+
10+
You can also look through currently open issues in Zazu Core. Often, the ones
11+
not being worked on are marked with a [help wanted][help wanted tag]. tag.
12+
13+
### Plugins
14+
15+
Plugin development is also a great way to get involved. Zazu needs plugin to do
16+
anything useful for a user. If you create one, start the repo name with `zazu-`
17+
and feel free to submit it to the plugin directory once you get it working! If
18+
you need help getting started there is documentation on [creating a
19+
plugin][plugin page].
20+
21+
## Community
22+
23+
You can find the community and core developers on [Gitter Chat][Gitter Chat].
24+
25+
## Core Team Guidelines
26+
27+
If you're part of Zazu's core team there are a few guidelines for you as well.
28+
29+
When starting work, please update the [Zazu Project Board][Zazu Project Board]
30+
with your current task. When you create a pull request, add a reviewer who is
31+
also on the core team.
32+
33+
If you get added as a reviewer and you don't have time to get to it in the next
34+
day or two, feel free to comment or re-assign the ticket, things come up, we
35+
understand! [:
36+
37+
If there is no reviewer on a pull request, from a non-core member for example,
38+
assign it to yourself and take it from there.
39+
40+
Lastly, if you approve of the change, merge the pull request yourself.
41+
42+
[Zazu Project Board]: https://github.com/orgs/tinytacoteam/projects/1
43+
[helped wanted tag]: https://github.com/tinytacoteam/zazu/issues?q=is%3Aissue+is%3Aopen+label%3A%22help+wanted%22
44+
[plugin page]: http://zazuapp.org/documentation/plugins/
45+
[Gitter Chat]: https://gitter.im/tinytacoteam/zazu
File renamed without changes.
File renamed without changes.

.gitignore

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,10 @@ log
44
.DS_Store
55
Thumbs.db
66
*.autogenerated
7-
/build/
8-
/releases/
9-
/tmp/
7+
build
8+
releases
9+
dist
10+
tmp
1011
docs/_site
1112
databases
1213
zazu-fallback

.travis.yml

Lines changed: 2 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
language: node_js
22
node_js:
3-
- '6.3.0'
3+
- '6.5.0'
44
os:
55
- linux
66
- osx
@@ -11,16 +11,6 @@ before_install:
1111
export DISPLAY=:99.0; sh -e /etc/init.d/xvfb start;
1212
fi
1313
script:
14-
- npm run dev-release
1514
- npm run cucumber
1615
- npm test
17-
deploy:
18-
provider: releases
19-
api_key:
20-
secure: cM5cbkBVEZgx0+vTnUzvEgtRs38G/bQn7EG2xXuQSlwf3rTUqTS62kai5Gfw7GCpK9SfQ6KBimihVDWpX1z4TGSa6dsS+wy8Ee2utynJBl0vY7gEaMZdV7spfU5Af0tgrI9NJGaGm9TxPYnHG5KafTCPoeEB+QGzkMOCGYArQSCPF+qPAAqD3Q/z2KYT4wdkD6cpe0gmT9cWTso2vj1DW8MLGv25ADJkfWde1kdYaYsIAUxDL8ijZcsCUWPJpZMNN3lbLrW1pMCQt/ZKWsoBIbYnK9PJ45IAD7mufJmUmfOrX4JS7cF+OIHecL/5rpkmbGojQ8imouqEPiaIqZ3soJB+K/ZqFMXYU1oX1Hl8mR62iWlJ6tpZyJFwLpdioXLzPhDpJlABpj4WH6OfbvnldR6a4OTqxSp9+sCYlTLINsrMObXzk2//GN7HhKTKKLCb2hS4gx3EFH/YNtMmONTnba5uMwDe3b66ogjVK4/iUpxAIXDNFSRJV6yRUsISEMjmsND9L0TKcPPnZ3OUhtEGveWJ2qA8PUJlTLbIzudsri1GnRlXlHi2EPYRHH3HT9gmdFHB8PoyUdc1c9H2DXOnSX7/Yr9nNzRaUxfn8Tii53Te/7SPkfQKpFM5hsp4yJRg4w3auskfCB4xg+bT4f0BpAB+fasLAeyHV+gGN4SxEAs=
21-
file: "releases/*"
22-
file_glob: true
23-
skip_cleanup: true
24-
on:
25-
tags: true
26-
repo: tinytacoteam/zazu
16+
- npm run release

README.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,3 +43,17 @@ will open by default. You can enable debug mode by adding a `debug` flag to
4343
"plugins": []
4444
}
4545
~~~
46+
47+
## Deployment
48+
49+
To deploy simple update the version in both `package.json` and
50+
`app/package.json` (eg `0.3.2`). After comitting you can tag the release, but
51+
be sure to add the `v` in front (eg `v0.3.2`). Push the commits then the tag.
52+
53+
The CI servers will upload the assets once the tests are done passing, the new
54+
release should be a draft, so once all assets are published you can publish the
55+
release on GitHub.
56+
57+
Lastly, you should re-publish the docs. Zazu uses the doc website to see if a
58+
new release is available so doing a quick release will allow others to download
59+
the newest version. Simply run `npm run docs:publish`.

app/package.json

Lines changed: 4 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,12 @@
11
{
22
"name": "zazu",
3-
"productName": "Zazu",
4-
"identifier": "com.tinytacoteam.zazu",
3+
"version": "0.4.0",
54
"description": "A cross platform productivity application.",
6-
"version": "0.3.2",
7-
"author": "Blaine Schmeisser <blainesch@gmail.com>",
8-
"main": "background.js",
5+
"email": "zazu-app@googlegroups.com",
6+
"author": "Tiny Taco Team <zazu-app@googlegroups.com>",
97
"homepage": "http://zazuapp.org",
108
"license": "MIT",
9+
"main": "background.js",
1110
"dependencies": {
1211
"auto-launch": "^2.1.0",
1312
"babel-register": "^6.18.0",
@@ -29,16 +28,5 @@
2928
"babel-preset-es2015": "^6.18.0",
3029
"babel-preset-react": "^6.16.0",
3130
"babelify": "^7.3.0"
32-
},
33-
"packageNameTemplate": "{{name}}-v{{version}}-{{platform}}-{{arch}}",
34-
"osx": {
35-
"build": "1",
36-
"identifier": "com.tinytacoteam.zazu",
37-
"LSApplicationCategoryType": "public.app-category.productivity",
38-
"//codeSignIdentitiy": {
39-
"dmg": "Developer ID Application: Company Name (APPIDENTITY)",
40-
"MAS": "3rd Party Mac Developer Application: Company Name (APPIDENTITY)",
41-
"MASInstaller": "3rd Party Mac Developer Installer: Company Name (APPIDENTITY)"
42-
}
4331
}
4432
}

appveyor.yml

Lines changed: 2 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
environment:
2-
nodejs_version: "6"
2+
nodejs_version: "6.5.0"
33

44
os: unstable
55

@@ -12,22 +12,8 @@ install:
1212
test_script:
1313
- node --version
1414
- npm --version
15-
- npm run dev-release
1615
- npm run cucumber
1716
- npm test
18-
19-
artifacts:
20-
- path: releases\*.exe
21-
name: ZazuWin
22-
23-
deploy:
24-
provider: GitHub
25-
auth_token:
26-
secure: XJXnzo2BTOVQ/JOyd7ccmoVhucZbl3lEzeKACXgROih54K5JZKGIjAdx1pAX/E+G
27-
artifact: ZazuWin
28-
draft: false
29-
prerelease: false
30-
on:
31-
appveyor_repo_tag: true
17+
- npm run release
3218

3319
build: off

changelog.md

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,23 @@
1+
## 0.3.3
2+
3+
### Bugs
4+
5+
* Better detection if GIT is installed. #200
6+
* Fix issue with prefix script and optional dependencies. #154
7+
* Catch http exceptions when not connected to the internet. #211
8+
9+
### Features
10+
11+
* Add ability to be portable. (Thanks [schmic][schmic]!) #164
12+
* Check for updates every 24 hours, not just once. #170
13+
* Allow about text to be copy-able. #88
14+
* Better ranking algorithm based on block type. #176
15+
* Follow the cursor instead of always being on the primary monitor. (Thanks
16+
[eldinoyev][eldinoyev]!) #169
17+
* Show error screen when no plugins are installed. (Thanks
18+
[eldinoyev][eldinoyev]!) #193
19+
* Add a new block type for reloading configuration. #198
20+
121
## 0.3.2
222

323
## Bugs
@@ -88,3 +108,6 @@
88108
* Scoped blocks now descope when toggling via the menu item. #44
89109
* Gracefully handle toggling devtools when no window is open. #45
90110
* Clear results when you close Zazu so they don't clear when you open. #46
111+
112+
[schmic]: https://github.com/schmic
113+
[eldinoyev]: https://github.com/eldinoyev

features/step_definitions/myStepDefinitions.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ class World {
2121
jetpack.copy(fallbackProfile, homeProfile, { overwrite: true })
2222
}
2323
this.app = new Application({
24-
path: require('electron-prebuilt'),
24+
path: require('electron'),
2525
args: [appPath],
2626
env: {
2727
NODE_ENV: 'test',

0 commit comments

Comments
 (0)