Commit Graph

853 Commits

Author SHA1 Message Date
Antonio Scandurra
21de78ce38 Snapshot config, keymaps, tooltips, commands, grammars and styles 2017-03-07 18:30:38 +01:00
Antonio Scandurra
b6829f08fa Temporarily add faster script to build Atom 2017-03-07 17:56:36 +01:00
Antonio Scandurra
76ae6b29b3 ⬆️ electron-link to handle cyclic requires correctly 2017-03-06 19:58:03 +01:00
Antonio Scandurra
f0e7290b8c Delete unnecessarily excluded modules from snapshot generator 2017-03-06 14:36:33 +01:00
Antonio Scandurra
f05e882911 Copy snapshot in the appropriate location on Linux and Windows 2017-03-06 14:21:13 +01:00
Antonio Scandurra
889f480c35 Delete obsolete asar code 2017-03-06 14:20:52 +01:00
Antonio Scandurra
f2ea38afba Add electron-mksnapshot and use the downloaded bin to generate snapshots 2017-03-06 14:12:18 +01:00
Antonio Scandurra
7fbe68e12e Exclude less from snapshot 2017-03-06 14:11:47 +01:00
Antonio Scandurra
5a8aa54167 ⬆️ electron-link 2017-03-02 09:48:12 +01:00
Antonio Scandurra
a9ada35354 Snapshot NativeCompileCache 2017-03-02 09:29:07 +01:00
Antonio Scandurra
d73547242b Run script/bootstrap during script/build 2017-03-02 08:29:45 +01:00
Antonio Scandurra
70c82b1ffa Snapshot pathwatcher and fs-plus 2017-03-02 08:26:21 +01:00
Antonio Scandurra
9aae33a0f1 Use a new version of clear-cut that can be snapshotted 2017-03-01 08:58:58 +01:00
Antonio Scandurra
adb0e39166 WIP 2017-02-28 15:44:02 +01:00
Antonio Scandurra
9b8c7973d7 WIP 2017-02-28 09:34:55 +01:00
Antonio Scandurra
e453b04105 Put back code that was commented out 2017-02-27 16:45:57 +01:00
Antonio Scandurra
54eb65631a ⬆️ electron-link 2017-02-27 13:53:47 +01:00
Wliu
310a812388 👕 2017-02-24 15:32:07 -05:00
Wliu
69d12d917b Merge branch 'master' into wl-build-on-node-7 2017-02-24 13:11:05 -05:00
Antonio Scandurra
ea879340c0 WIP 2017-02-24 16:36:16 +01:00
Antonio Scandurra
367d595ab8 Update static/index to match what we do on master 2017-02-24 11:49:17 +01:00
Antonio Scandurra
f87a53bce9 Run all steps in script/build 2017-02-24 11:01:59 +01:00
Antonio Scandurra
5dbae1c317 Copy the generated snapshot into the app bundle 2017-02-24 10:39:05 +01:00
Antonio Scandurra
c2f02e16fe Verify that snapshot can be executed via mksnapshot 2017-02-24 08:13:26 +01:00
Antonio Scandurra
e624f24b6d WIP 2017-02-23 17:26:41 +01:00
Antonio Scandurra
264ff4a865 Merge branch 'master' into as-ns-startup-snapshot 2017-02-23 10:01:52 +01:00
Antonio Scandurra
5a0433b006 Upgrade to babel 6 and apply fewer transformations to babel files 2017-02-15 17:02:00 +01:00
Nathan Sobo
f498c1d795 Attempt to fix code signing on CircleCI 2017-02-13 14:05:11 -07:00
Damien Guard
eebc81f6ea
Version is used for release channels on windows 2017-02-08 23:24:54 -08:00
Michelle Tilley
1b6394955b ⌨️ Fix typo 2017-01-25 11:47:31 -08:00
Michelle Tilley
6f6865f9cd Don't download cert on Windows unless we're signing 2017-01-25 11:10:36 -08:00
Michelle Tilley
b931c925d5 Allow Windows signing cert to be specified by ATOM_WIN_CODE_SIGNING_CERT_PATH 2017-01-25 10:59:34 -08:00
Michelle Tilley
a6445235f4 Allow macOS signing cert to be specified by ATOM_MAC_CODE_SIGNING_CERT_PATH 2017-01-25 10:57:31 -08:00
Wliu
20635a4f4f :lint: 2017-01-25 11:13:42 -05:00
Wliu
c76d8cd034 Lint the script folder 2017-01-24 23:55:33 -05:00
Wliu
7bb08e39f3 👕 2017-01-24 23:41:30 -05:00
Wliu
038f03a89f stdout shouldn't be a constant 2017-01-24 19:57:05 -05:00
Wliu
197b694cdf Allow Atom to build on Node 7+ 2017-01-24 19:55:53 -05:00
Damien Guard
71b17d95d6
Remove code that stopped create-windows-installer looking for deltas on x64 2017-01-10 15:30:17 -08:00
Damien Guard
1e2e7d0d44
⬆️ joanna 2016-12-28 11:27:44 -08:00
Lee Dohm
0d2646f9af
Fix first guard clause 2016-12-19 19:23:38 -08:00
Lee Dohm
0efd95e0ea
Prevent builds on Node 7+ until they're fixed 2016-12-19 19:06:02 -08:00
Damien Guard
a8f2d18d4c
Custom icon for jumplist projects 2016-12-13 19:15:42 -08:00
Damien Guard
ad77c319ad Merge pull request #13431 from atom/dg-use-npm-chromedriver
Switch to npm provided chromedriver instead of manually downloaded
2016-12-13 13:12:03 -08:00
Damien Guard
bd6e0715c0
⬆️ electron-winstaller 2016-12-13 12:59:21 -08:00
Damien Guard
aa2b32e29c
Ensure chromedriver matches electron version during build 2016-12-13 10:13:22 -08:00
Damien Guard
f25a718c02 Switch electron-chromedriver from GitHub download to npm install 2016-12-12 16:31:38 -08:00
Damien Guard
11ec60d203
Switch master to new key, old key on old env vars for stable/beta 2016-12-12 15:52:30 -08:00
Damien Guard
a08967028b
⬆️ electron-winstaller (squirrel) 2016-12-12 14:56:07 -08:00
Damien Guard
63c201dc84
Fall back to using 7z to extract chromedriver if unzip missing 2016-12-01 14:01:04 -08:00
Damien Guard
6aa46cf0f0
Do not run core render process tests on win32/ia32. They crash Atom in TextEditor specs - possible resource limitation. 2016-11-30 12:06:46 -08:00
Damien Guard
a18adfee58
Tidy up which tests run on which OS 2016-11-29 16:55:14 -08:00
Damien Guard
643038eeaa
Add chromedriver for Windows & Linux 2016-11-29 16:55:14 -08:00
Lee Dohm
637fd70406 Merge pull request #13020 from idleberg/patch-1
Add language-nlf to deprecated packages
2016-11-21 09:35:31 -08:00
Antonio Scandurra
72b017b01a WIP: Start on requiring packages 2016-11-16 17:16:36 +01:00
Antonio Scandurra
77b8089e3a Use the snapshot result to require core modules 2016-11-15 18:03:36 +01:00
Antonio Scandurra
6ccdc421cb Use a different entry script to generate the startup snapshot 2016-11-15 11:01:51 +01:00
Antonio Scandurra
1d16d687bb Start on generating a startup snapshot script via electron-link 2016-11-15 11:01:51 +01:00
Damien Guard
80bb4337e3
Include arch in dependency cache key 2016-11-11 10:28:19 -08:00
Damien Guard
aaf1c72f5a
Make build pass on x64 before atom.io is ready 2016-11-10 22:34:51 -08:00
Damien Guard
0d0a2ae7b1
Windows 64-bit version of Atom 2016-11-10 16:59:12 -08:00
Damien Guard
d97333579d
Deal with spaces, paths and other 7z/cmd issues with signed extraction 2016-11-01 17:33:27 -07:00
Nathan Sobo
e28c03d15b Merge pull request #13001 from flububb/master
Build appropriate 32/64-bit version on Linux
2016-10-28 08:46:04 -06:00
Damien Guard
e4ff2b2296
Use relative paths for signing to avoid weird 7z error 2016-10-27 20:51:40 -07:00
Damien Guard
4edb3fe5c7
For some reason packagedAppPath uses forward-slash on Windows... 2016-10-27 17:06:54 -07:00
Damien Guard
590b64a34b
Fix portable extraction for beta 2016-10-27 16:39:57 -07:00
Damien Guard
0ba765d43e
Older signtool does not support append signature /as switch 2016-10-26 14:35:07 -07:00
Damien Guard
428dbabe81
Sign Windows builds with sha256 and timestamp 2016-10-26 10:46:02 -07:00
Jan T. Sott
c29b8be177 Add language-nlf
All features of `language-nlf` have been merged into `language-nsis`. The former will no longer be updated.
2016-10-19 09:29:37 +02:00
flububb
35bc2cf520 Pick the right architecture on linux #12972
I don't know if the fixation of the architecture on non linux platforms makes any sense (line 25). Maybe simply 'arch': process.arch is the right way to go. Can't test it on my linux machine.
2016-10-16 21:45:59 +02:00
Antonio Scandurra
c54b330d68 Update eslint and fix new script/lint errors 2016-10-14 13:54:10 +02:00
Antonio Scandurra
6c65f88bc3 Copy and transpile benchmarks/benchmark-runner.js 2016-10-14 12:13:52 +02:00
Antonio Scandurra
a0c7c63e92 Run benchmarks tests during script/test on macOS 2016-10-14 11:03:14 +02:00
Damien Guard
ba4836ce93
Extract signed exe's from nuget-full for portable 2016-10-11 09:16:40 -07:00
Philip Schatz
7bbc0d12eb 🐛 support variable terminal widths 2016-09-27 14:25:45 -04:00
Antonio Scandurra
924ca8ecf6 Run main process tests on Windows 2016-09-09 17:58:23 +02:00
Antonio Scandurra
6841babc4a Run main process tests on Linux 2016-09-09 17:58:23 +02:00
Damien Guard
3eb55d7db0
Add Windows file.ico lost in move to new build 2016-09-08 21:16:55 -07:00
Nathan Sobo
95ab4ab754 Merge pull request #12572 from ablakely/patch-1
Update create-debian-package.js
2016-09-01 07:21:02 -06:00
Antonio Scandurra
8249dbbb79 Fix release channel detection on Travis
In the previous build scripts, we were considering all the builds
triggered by a pull-request to be part of the dev channel. We adopted
the same heuristic for the new build scripts, but didn't notice that
Travis always sets the `TRAVIS_PULL_REQUEST` variable to "false" (which
causes the `process.env.TRAVIS_PULL_REQUEST` expression to be evaluated
as truthy).

In the past, this wasn't a problem because we were building artifacts
via Janky, but after switching to Travis this makes it generate the
wrong assets on stable and beta.

To fix this, it seems reasonable to remove the conditional that checks
if we are building a pull-request: in the past this could have been
problematic because assets could be uploaded inadvertently to S3 or
GitHub, but this should be safe now that we rely on the release
publisher to perform that task.
2016-09-01 09:49:37 +02:00
Aaron Blakely
b54952d6e7 Update create-debian-package.js
Added support for building debian powerpc packages.
2016-08-31 16:46:05 -05:00
Antonio Scandurra
ab0a7f8b61 Fix outdated code in script/clean 2016-08-30 12:33:37 +02:00
Antonio Scandurra
5b85e1c797 Allow script/build --install on all platforms 2016-08-30 12:21:55 +02:00
Antonio Scandurra
de3fca49a8 Run script/bootstrap immediately after running script/build
This will ensure all the dependencies used later in `script/build` are
installed.
2016-08-30 11:49:52 +02:00
Nathan Sobo
c1c4067179 Run script/bootstrap from script/build 2016-08-29 15:33:34 -06:00
Antonio Scandurra
14611926ac Ensure script/bootstrap works after cleaning dependencies up 2016-08-29 13:40:17 +02:00
Antonio Scandurra
b6de97f52f 🎨 2016-08-29 11:42:21 +02:00
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
Nathan Sobo
13b2abf299 Hard code build architecture to ia32 on Windows, x64 on other platforms 2016-08-08 22:08:40 -06:00
Nathan Sobo
985edcc50f 🎨 Copyright 2016-08-08 16:58:25 -06:00
Damien Guard
56e6bc64e7
🔨 Windows Clean command 2016-08-08 14:47:17 -07:00
Damien Guard
886faf237d
🔨 Apply filter to dirs as well as files 2016-08-08 14:34:56 -07:00
Nathan Sobo
4a5ccf1c4d Pass Windows-specific info to electron-packager 2016-08-08 12:52:01 -06:00
Antonio Scandurra
f1b3fc4705 Always assign certPath 2016-08-08 16:45:46 +02:00
Antonio Scandurra
61f4c9fceb 🎨 2016-08-08 16:15:35 +02:00
Antonio Scandurra
71a606ab3e Manually set title when running electron-winstaller 2016-08-08 16:07:17 +02:00
Antonio Scandurra
c689478d49 Fix running tests on macOS 2016-08-08 15:47:51 +02:00
Antonio Scandurra
a9fbc0e3ed Add missing requires and statements 2016-08-08 15:40:16 +02:00
Antonio Scandurra
56ceb40dde 🎨 2016-08-08 15:28:23 +02:00
Antonio Scandurra
d089c94f3b Remove trailing ... in log messages 2016-08-08 15:18:21 +02:00
Nathan Sobo
7cdf25eb5b Start on electron-winstaller 2016-08-08 15:17:15 +02:00