mbilker
cb0be78d1c
fix(spectron): prevent execution for windows only
2015-11-24 00:17:00 -05:00
mbilker
0f20c13501
fix(spectron): typo with darwin
2015-11-23 23:34:37 -05:00
mbilker
4a8b358013
fix(spectron): reenable for Linux and choose executablePath based on platform
2015-11-23 23:31:37 -05:00
mbilker
b7a7dde23a
fix(travis): enable fake Xorg window to allow electron testing on Linux
2015-11-23 23:31:37 -05:00
Ben Gotow
6aeda7583b
fix(spectron): Run against built version of the app to avoid timeouts
2015-11-23 18:54:42 -08:00
Evan Morikawa
669995961a
fix(spec): cleanup N1.sh and make specs fail with exit code 1
2015-11-23 16:00:55 -05:00
Evan Morikawa
971089aeb0
fix(build): bail if script/bootstrap fails and enhance test output
...
Have the test output
2015-11-23 14:34:18 -05:00
mbilker
dc29b746b2
fix(packages): remove vm-compatibility-layer
...
vm-compatibility-layer was designed to support obsolete APIs in node
v0.11.x of node v0.10.x. It is only used in the build Gruntfile and
nowhere else in the project.
2015-11-21 00:17:27 -05:00
Juan Tejada
091749545b
fix(spectron): Update spectron setup:
...
- Passes new arguments to spectron.Application
- Updates setup of test suite to wait for application to boot before
specs are run
2015-11-19 12:29:03 -08:00
Juan Tejada
c6b4adbcd1
ci(spectron): Add support to execute spectron/chrome-driver tests
...
Summary:
- Sets up spectron test suite inside its own directory and with its own
dependencies (must run on a build of the app)
- Sets up dummy test
- Adds `run-spectron-specs` grunt task, and adds it to cibuild task
- Cleans up spec tasks code
Test Plan: - Run specs
Reviewers: evan, bengotow
Reviewed By: bengotow
Differential Revision: https://phab.nylas.com/D2256
2015-11-18 16:36:58 -08:00
Evan Morikawa
488dff0f90
refactor(env): new NylasEnv global
...
Converted all references of global atom to NylasEnv
Temporary rename atom.io
find -E . -regex ".*\.(coffee|cjsx|js|md|cmd|es6)" -print0 | xargs -0 sed
-i "" 's/atom.io/temporaryAtomIoReplacement/g'
atom.config to NylasEnv.config
find -E . -regex ".*\.(coffee|cjsx|js|md|cmd|es6)" -print0 | xargs -0 sed
-i "" 's/atom.config/NylasEnv.config/g'
atom.packages -> NylasEnv.packages
atom.commands -> NylasEnv.commands atom.getLoadSettings
find -E . -regex ".*\.(coffee|cjsx|js|md|cmd|es6)" -print0 | xargs -0 sed
-i "" 's/atom.commands/NylasEnv.commands/g'
find -E . -regex ".*\.(coffee|cjsx|js|md|cmd|es6)" -print0 | xargs -0 sed
-i "" 's/atom.getLoadSettings/NylasEnv.getLoadSettings/g'
More common atom methods
find -E . -regex ".*\.(coffee|cjsx|js|md|cmd|es6)" -print0 | xargs -0 sed
-i "" 's/atom.styles/NylasEnv.styles/g'
find -E . -regex ".*\.(coffee|cjsx|js|md|cmd|es6)" -print0 | xargs -0 sed
-i "" 's/atom.emitError/NylasEnv.emitError/g'
find -E . -regex ".*\.(coffee|cjsx|js|md|cmd|es6)" -print0 | xargs -0 sed
-i "" 's/atom.inSpecMode/NylasEnv.inSpecMode/g'
find -E . -regex ".*\.(coffee|cjsx|js|md|cmd|es6)" -print0 | xargs -0 sed
-i "" 's/atom.inDevMode/NylasEnv.inDevMode/g'
find -E . -regex ".*\.(coffee|cjsx|js|md|cmd|es6)" -print0 | xargs -0 sed
-i "" 's/atom.getWindowType/NylasEnv.getWindowType/g'
find -E . -regex ".*\.(coffee|cjsx|js|md|cmd|es6)" -print0 | xargs -0 sed
-i "" 's/atom.displayWindow/NylasEnv.displayWindow/g'
find -E . -regex ".*\.(coffee|cjsx|js|md|cmd|es6)" -print0 | xargs -0 sed
-i "" 's/atom.quit/NylasEnv.quit/g'
find -E . -regex ".*\.(coffee|cjsx|js|md|cmd|es6)" -print0 | xargs -0 sed
-i "" 's/atom.close/NylasEnv.close/g'
More atom method changes
find -E . -regex ".*\.(coffee|cjsx|js|md|cmd|es6)" -print0 | xargs -0 sed
-i "" 's/atom.keymaps/NylasEnv.keymaps/g'
find -E . -regex ".*\.(coffee|cjsx|js|md|cmd|es6)" -print0 | xargs -0 sed
-i "" 's/atom.hide/NylasEnv.hide/g'
find -E . -regex ".*\.(coffee|cjsx|js|md|cmd|es6)" -print0 | xargs -0 sed
-i "" 's/atom.getCurrentWindow/NylasEnv.getCurrentWindow/g'
find -E . -regex ".*\.(coffee|cjsx|js|md|cmd|es6)" -print0 | xargs -0 sed
-i "" 's/atom.menu/NylasEnv.menu/g'
find -E . -regex ".*\.(coffee|cjsx|js|md|cmd|es6)" -print0 | xargs -0 sed
-i "" 's/atom.getConfigDirPath/NylasEnv.getConfigDirPath/g'
find -E . -regex ".*\.(coffee|cjsx|js|md|cmd|es6)" -print0 | xargs -0 sed
-i "" 's/atom.isMainWindow/NylasEnv.isMainWindow/g'
find -E . -regex ".*\.(coffee|cjsx|js|md|cmd|es6)" -print0 | xargs -0 sed
-i "" 's/atom.finishUnload/NylasEnv.finishUnload/g'
find -E . -regex ".*\.(coffee|cjsx|js|md|cmd|es6)" -print0 | xargs -0 sed
-i "" 's/atom.isWorkWindow/NylasEnv.isWorkWindow/g'
find -E . -regex ".*\.(coffee|cjsx|js|md|cmd|es6)" -print0 | xargs -0 sed
-i "" 's/atom.showSaveDialog/NylasEnv.showSaveDialog/g'
find -E . -regex ".*\.(coffee|cjsx|js|md|cmd|es6)" -print0 | xargs -0 sed
-i "" 's/atom.append/NylasEnv.append/g'
find -E . -regex ".*\.(coffee|cjsx|js|md|cmd|es6)" -print0 | xargs -0 sed
-i "" 's/atom.confirm/NylasEnv.confirm/g'
find -E . -regex ".*\.(coffee|cjsx|js|md|cmd|es6)" -print0 | xargs -0 sed
-i "" 's/atom.clipboard/NylasEnv.clipboard/g'
find -E . -regex ".*\.(coffee|cjsx|js|md|cmd|es6)" -print0 | xargs -0 sed
-i "" 's/atom.getVersion/NylasEnv.getVersion/g'
More atom renaming
Rename atom methods
More atom methods
Fix grunt config variable
Change atom.cmd to N1.cmd
Rename atom.coffee and atom.js to nylas-env.coffee nylas-env.js
Fix atom global reference in specs manually
Fix atom requires
Change engine from atom to nylas
got rid of global/nylas-env
rename to nylas-win-bootup
Fix onWindowPropsChanged to onWindowPropsReceived
fix nylas-workspace
atom-text-editor to nylas-theme-wrap
atom-text-editor -> nylas-theme-wrap
Replacing atom keyword
AtomWindow -> NylasWindow
Replace Atom -> N1
Rename atom items
nylas.asar -> atom.asar
Remove more atom references
Remove 6to5 references
Remove license exception for atom
2015-11-17 16:41:20 -08:00
Ben Gotow
0380704c41
ASAR v0.8, because apparently 0.5 can skip files
2015-11-16 10:02:31 -08:00
Christine Spang
3b1b43a3d0
Merge pull request #301 from nicholascapo/update-libgcrypt-dependency
...
Update debian package libgcrypt dependency
2015-11-11 15:43:39 -08:00
Evan Morikawa
58873e81ea
fix(keymap): run cmdctrl preprocessor on build too
2015-11-09 15:09:04 -05:00
Ben Gotow
6a79bc58dc
fix(deps): Go away git-utils, we never used you anyway
2015-11-07 18:05:24 -08:00
Ben Gotow
e64e6e526d
fix(babel): Roll back to babel@5, see details
...
- move babelrc to static so that it can be used during the build process and also whenever the app is transpiling things on the fly.
- move babel back to version 5, which is compatible with `apm install`. (babel 6 seems to require the "dedupe" behavior of NPM3)
- update harmony-collections to use an unpublished commit that fixes the "WeakMap is not generic" issue
2015-11-07 14:27:18 -08:00
Juan Tejada
2e3ab31952
Update grunt tasks to lint and transpile es6 code using babel
...
Summary: - Linter uses predefined rules for ES6 and React from airbnb
Test Plan: - Manuel
Reviewers: evan, bengotow
Reviewed By: bengotow
Differential Revision: https://phab.nylas.com/D2242
2015-11-06 17:40:42 -08:00
Ben Gotow
77b62c594e
fix(win10): Add more resolutions to the windows .ico
...
Fixes #351
2015-11-06 12:24:24 -08:00
Ben Gotow
88e7f4cc4e
fix(packaging): Resolve codesign issue on 10.11 due to bad symlink
2015-10-30 15:27:39 -07:00
Nicholas Capo
23e9772471
Update debian package libgcrypt dependency
...
* Package libgcrypt11 is no longer available in Debian or Ubuntu
* Allow installing the package with libgcrypt20 instead
2015-10-29 21:00:49 -05:00
Asher Wood
fca5db4e45
Merge pull request #240 from Zeklandia/master
...
commit fc34b1fcb08a6f4a84e20c42eb2c6fd0952cf73a
Author: Ben Gotow <bengotow@gmail.com>
Date: Thu Oct 29 13:37:59 2015 -0700
Revert one small capitalization change on Windows
commit c4b30c9b84166bd8847c83b748da316f8861650e
Author: Ben Gotow <bengotow@gmail.com>
Date: Thu Oct 29 12:56:32 2015 -0700
Fix one remaining uppercase Nylas, remove unneeded build task
commit 1767341a36bd20990f884c636da236454fbf3761
Author: Asher Wood <awood5659@gmail.com>
Date: Thu Oct 29 10:34:47 2015 -0700
Update list of supported OSes
commit 2bac5a7e1c30ca63ae7be0d679b2a61a032449f9
Author: Asher Wood <awood5659@gmail.com>
Date: Thu Oct 29 10:30:53 2015 -0700
Nylas --> nylas
commit 19eed9bf096819df3588d82a4307770c1069c366
Author: Asher Wood <awood5659@gmail.com>
Date: Thu Oct 29 10:17:55 2015 -0700
Change '../Nylas' to `../nylas`
commit 9c7cba6ea29652d0d1544d51c387861984bc511a
Author: Asher Wood <awood5659@gmail.com>
Date: Tue Oct 27 21:33:29 2015 -0700
More uppercase/lowercase confusion. The icon is still not in the right place after install, but at least Nylas will open.
commit 30510f6978364398b7917917369b3f011b533606
Author: Asher Wood <awood5659@gmail.com>
Date: Tue Oct 27 21:06:33 2015 -0700
Fixed building rpms
Many file paths had had `/usr/local/share/nylas` instead of `/usr/local/share/Nylas`
2015-10-29 13:46:47 -07:00
Ben Gotow
537b23d08b
fix(cibuild): unlinkSync => rmdirSync
2015-10-27 18:45:59 -07:00
Ben Gotow
9292bede3a
fix(cibuild): apm needs dependencies, fix for npm3
2015-10-27 18:29:14 -07:00
Ben Gotow
e858eb6ebd
rm(aws-sdk): Ship logs via request
, eliminate aws-sdk
2015-10-27 16:35:38 -07:00
Ben Gotow
d0ff96c8a3
⇧(npm): Move to NPM3 to shorten paths on Win32
2015-10-27 16:23:12 -07:00
Ben Gotow
68323f05f7
ci(mac): Rename the app Nylas N1 on the Mac
2015-10-20 18:36:39 -07:00
Ben Gotow
e12ab4f753
ci(win): N1.exe => N1Setup.exe (it's an installer)
2015-10-20 17:34:35 -07:00
Ben Gotow
2a9b5b7ea1
ci(mac): Fix zip creation and upload for updater
2015-10-20 14:24:51 -07:00
Ben Gotow
f76408fc24
ci(*): mkrpm only works on Fedora build machines, need to configure one
2015-10-20 13:43:12 -07:00
Ben Gotow
4fe56077bd
ci(*): Use publish-nylas-build on Linux
2015-10-20 13:31:09 -07:00
Ben Gotow
50469e487d
ci(*): Put builds in /version/platform/arch
2015-10-19 18:44:58 -07:00
Ben Gotow
1399685415
ci(*): Put builds in subdirectories, better for Squirrel.Win
2015-10-16 17:06:09 -07:00
Ben Gotow
31e0c570cf
ci(*): Prevent external folks from posting to slack
2015-10-16 15:46:09 -07:00
Ben Gotow
84a8b4f98f
ci(*): Fix Mac build filenames, zip uploads
2015-10-16 15:26:23 -07:00
Ben Gotow
584da13788
ci(*): Put the commit hashes back in release filenames
2015-10-16 14:01:29 -07:00
Ben Gotow
9cae62dc63
ci(win): Fix build tasks to enable windows CI builds
2015-10-15 17:54:09 -07:00
Matt Bilker
2a07df0ebd
fix(grunt): disable packaging under travis builds
2015-10-07 22:54:22 -04:00
Matt Bilker
750539bd9b
fix(build): disable codesign in travis builds
2015-10-07 22:35:51 -04:00
Matt Bilker
bd64cb1218
fix(grunt): change variable name for github access key
2015-10-07 21:57:45 -04:00
Evan Morikawa
bd065b7fb4
Upgrade to Electron 0.30.8. Remove unsused packages. Upgrade deps
...
- Upgrade node-sqlite3 from patched 3.0.2 to mainline 3.1.0
- Upgrade Electron to 0.30.8: NOTE: This is the latest in the 0.30 line.
The 0.31+ line did a Chrome upgrade that we want to save for a later
day. We've had a history of serious instabilities with these upgrades
and are doing them conservatively
- Upgrade coffee-script from 1.9.0 to 1.10.0
- Package updates in /build folder
2015-10-07 16:52:49 -07:00
Evan Morikawa
e9310b80c2
Merge pull request #49 from mbilker/node-v4
...
Compile on Node 4.x and 0.12
2015-10-07 10:55:51 -07:00
Matt Bilker
96bc0c9f97
Update build packages to allow building with node v4.1.2
...
coffee-lint-cjsx added to account for ignored peer dependencies in
npm 3+
2015-10-06 23:36:39 -04:00
Gardner Bickford
a9cfcff1db
Adding node version information to build/README.md
2015-10-05 23:43:33 -07:00
Michael Grinich
f04682031c
actually no more gh-pages
2015-10-05 05:08:53 -07:00
Christine Spang
5fdfac6161
Cull list of ubuntu releases to currently supported ones
2015-10-04 23:19:10 -07:00
Christine Spang
074bee306b
Also remove /usr/bin/apm symlink in install task.
2015-10-04 22:12:31 -07:00
Christine Spang
5b39d49027
Don't symlink /usr/bin/apm on Linux and Mac.
...
This makes us conflict with the official 'atom' Linux package. No bueno.
Doesn't really make sense for us to install this system-wide on Mac
either.
Fixes T3713.
2015-10-04 21:47:03 -07:00
Christine Spang
85f6403451
Merge branch 'debian-autoupdate'
2015-10-04 19:39:12 -07:00
Christine Spang
d6608c4c50
Install package repo for autoupdates in Debian packages.
2015-10-04 19:38:16 -07:00
Christine Spang
f1fb412609
Update Debian package long description
2015-10-04 19:38:09 -07:00