Commit Graph

666 Commits

Author SHA1 Message Date
Antonio Scandurra
4a940592e6 Include error stack when logging unhandled rejections 2016-08-29 10:38:23 +02:00
Antonio Scandurra
870b3c832e Add script/lint 2016-08-29 10:37:12 +02:00
Nathan Sobo
f3d05f9adc Add temporary no-op cibuild to avoid failure on Janky 2016-08-25 08:23:46 -06:00
Nathan Sobo
7d5c8eff55 Delete downloaded nupkg for previous version after creating windows installer 2016-08-25 07:55:04 -06:00
Antonio Scandurra
061ae3786a Remove custom copySync function
Originally we introduced this function because we thought empty
directories were causing path length issues on Windows, but it turns out
that it was a problem with Squirrel, so we can delete this code path
altogether.

Signed-off-by: Nathan Sobo <nathan@github.com>
2016-08-16 18:08:16 +02:00
Antonio Scandurra
6439812bf6 Try replacing dashes with dots 2016-08-16 14:55:24 +02:00
Antonio Scandurra
0189616e12 Use x.y.z~dev.sha as the appVersion on rpm packages 2016-08-16 14:34:16 +02:00
Antonio Scandurra
552c02f60f Copy generated packages into buildOutputPath 2016-08-16 13:14:27 +02:00
Antonio Scandurra
03045ff2ec Delete ~/rpmbuild entirely before creating a rpm package 2016-08-16 13:02:06 +02:00
Antonio Scandurra
266db1669e Don't stringify stdout/stderr when they don't exist 2016-08-16 12:54:04 +02:00
Antonio Scandurra
8e1972d804 Unlock keychains using the correct format 2016-08-16 12:53:33 +02:00
Antonio Scandurra
6afcc7e96b Convert package.json version dashes into tildes for rpm packages 2016-08-16 12:49:34 +02:00
Antonio Scandurra
e3e85e4780 Put back mistakenly deleted requires 2016-08-16 12:46:37 +02:00
Antonio Scandurra
62d5af52ae Use execSync when changing permissions via the find command
This will prevent the arguments supplied to `-exec` from being escaped
incorrectly by `spawnSync`.
2016-08-16 12:43:49 +02:00
Antonio Scandurra
d7f7f3527e Extract a spawnSync helper that throws on command errors 2016-08-16 12:29:42 +02:00
Antonio Scandurra
afb57711d0 🎨 2016-08-16 12:00:20 +02:00
Antonio Scandurra
8dddbab344 Recreate symlinks when calling copySync 2016-08-16 11:24:17 +02:00
Nathan Sobo
c9de91dc09 Rename create-installer option to create-windows-installer to match help
Signed-off-by: Antonio Scandurra <as-cii@github.com>
2016-08-15 08:05:57 -06:00
Antonio Scandurra
91732ce753 🎨 2016-08-15 16:00:44 +02:00
Antonio Scandurra
08dcb39f87 Start on RPM package creation 2016-08-15 16:00:33 +02:00
Antonio Scandurra
d97edcb8aa 📝 2016-08-15 14:41:49 +02:00
Antonio Scandurra
0925dd065a 🎨 2016-08-15 13:18:15 +02:00
Antonio Scandurra
b8e8d17b0b Use the correct size for the generated package 2016-08-15 12:26:23 +02:00
Antonio Scandurra
2883970886 Delete previously created debian artifacts if necessary 2016-08-15 12:21:48 +02:00
Antonio Scandurra
781228e06e Use the share dir path when copying icons, docs and lintian overrides 2016-08-15 12:19:02 +02:00
Antonio Scandurra
ffde9b49cf Always name Debian package "atom-amd64.deb" 2016-08-15 12:09:06 +02:00
Antonio Scandurra
fc95475d6e Change permissions to node files on Linux 2016-08-15 12:06:03 +02:00
Antonio Scandurra
9e0d7638e4 Create Debian package 2016-08-15 12:05:50 +02:00
Antonio Scandurra
4d3a982400 Ensure downloading the appropriate chromedriver for the bundled Electron 2016-08-15 10:18:45 +02:00
Antonio Scandurra
052ce394fe 🔥 2016-08-13 12:56:42 +02:00
Antonio Scandurra
5fc2405801 Compile CSON, Babel and Coffeescript files using CompileCache 2016-08-13 12:49:46 +02:00
Antonio Scandurra
df6e0aca1b Create folder if it doesn't exist when downloading files 2016-08-13 12:01:23 +02:00
Damien Guard
ad809a8d00 Wording clarifications for build options 2016-08-12 12:04:51 -06:00
Damien Guard
5a69d0bf4a Remove skip-rebuild option 2016-08-12 12:04:45 -06:00
Damien Guard
89152fbf58 Add help, don't build winstaller by default, add skip 2016-08-12 12:04:35 -06:00
Antonio Scandurra
d735f59b75 Try running tests serially 2016-08-11 13:50:02 +02:00
Antonio Scandurra
6bd9d1e4be Install webdriver io in script/package.json
So that we can control chromedriver without including that dependency in the final bundle.
2016-08-11 13:09:24 +02:00
Antonio Scandurra
ff9fb6edce Download Chromedriver during script/build
...so that we can cache it.
2016-08-11 12:56:15 +02:00
Antonio Scandurra
6f9a8208db Download chromedriver and run integration tests 2016-08-11 12:40:40 +02:00
Antonio Scandurra
3e42e65b01 Rename downloadGithubRawFile to downloadFileFromGithub 2016-08-11 12:19:25 +02:00
Antonio Scandurra
65b0f7d70f Rename cachePath to electronDownloadPath 2016-08-11 12:18:33 +02:00
Antonio Scandurra
3b1d98e4f1 Use a fixed version of electron-winstaller and sync-request 2016-08-11 10:52:31 +02:00
Damien Guard
54d2f000b3 ⬆️ electron-winstaller to 2.3.4 2016-08-10 13:15:03 -07:00
Nathan Sobo
c0857b611e Log windows installer creation errors 2016-08-09 16:13:32 -06:00
Antonio Scandurra
1fd2c2a494 Merge branch 'master' into ns-modernize-build 2016-08-09 15:37:40 +02:00
Antonio Scandurra
ae8801ad62 Add missing return 2016-08-09 14:23:46 +02:00
Antonio Scandurra
e364ec1825 Skip copying files or directories that don't exist 2016-08-09 14:20:32 +02:00
Antonio Scandurra
6d803ed3a4 Compress artifacts when passing --compress-artifacts to script/build 2016-08-09 13:29:47 +02:00
Antonio Scandurra
2db3ee9ee9 Associate file extensions on darwin 2016-08-09 12:01:26 +02:00
Antonio Scandurra
31227ddc55 Don't delete keymaps, package.json and menus when generating metadata 2016-08-09 11:38:06 +02:00