Commit Graph

249 Commits

Author SHA1 Message Date
Wliu
9fcc6a9bce Use endsWith to match modules to exclude from the snapshot 2017-10-20 01:27:15 +02:00
Damien Guard
c698576c8f Remove test*.html from packaged app output 2017-10-06 10:43:01 -07:00
Max Brunsfeld
07614b3b38 Update git-utils main path in startup snapshot blacklist 2017-09-27 12:36:51 -07:00
Max Brunsfeld
07c3c6ea2d Use the Atom Beta executable to verify startup snapshots when building Beta 2017-09-11 09:47:02 -07:00
Wliu
1a4e6c4c85 Merge pull request #15603 from jsoref/spelling
Spelling
2017-09-10 18:29:38 +02:00
Josh Soref
a5e3dfc802 spelling: version 2017-09-10 15:46:41 +00:00
Josh Soref
0e7739a026 spelling: package 2017-09-10 15:46:40 +00:00
Antonio Scandurra
8c8d6f7ce4 🔥 Delete unused require 2017-09-06 11:28:19 +02:00
Antonio Scandurra
2050f58a0e Don't override process.env variables 2017-09-06 11:08:58 +02:00
Antonio Scandurra
15d988d441 Use the Node version bundled in Electron to verify snapshot script
Previously, we used to verify the snapshot script by running it in a
new, empty context (similar to the one that `mksnapshot` creates when
generating the startup blob).

However, this context was being created using the Node version that
`script/build` was executed with. Such version may not match the Node
version shipped with Electron, and could thus cause the build script to
report "false negatives" when verifying the snapshot script. For
instance, running `script/build` with Node 4 would cause it to throw an
error when encountering keywords like `async`/`await`, even if they're
100% supported in Electron 1.6.9.

With this commit we are changing the snapshot verification code to use
the Node version bundled in Electron in order to avoid the
aforementioned mismatches.
2017-09-06 11:02:54 +02:00
Ian Olsen
b18ca74e49 put everything else back 2017-08-29 16:29:45 -07:00
Ian Olsen
09e98fe944 just libs and debugger files 2017-08-29 15:52:11 -07:00
Ian Olsen
9eca8ff4aa even more conservative 2017-08-29 15:30:51 -07:00
Ian Olsen
c7dcbeb0da put libgit2 back 2017-08-29 15:04:58 -07:00
Ian Olsen
c4d4ef0209 next guess 2017-08-29 14:48:51 -07:00
Ian Olsen
a0ebc21893 indentation fix for linter 2017-08-29 14:11:31 -07:00
Ian Olsen
d42326ea09 first guess 2017-08-29 14:00:26 -07:00
Ian Olsen
433bc6d874 baseline from Paul's changes 2017-08-29 13:33:09 -07:00
Max Brunsfeld
514952614e Replace runas with fs-admin in install-application script 2017-08-25 14:18:26 -07:00
Ian Olsen
e8251bdb97 Revert "Remove unneeded files from build result" 2017-08-17 13:49:25 -07:00
Ian Olsen
7daae84bc9 Merge pull request #14701 from atom/pb-remove-unneeded-files-win
Remove unneeded files from build result
2017-08-17 11:36:28 -07:00
Antonio Scandurra
84673775af Merge branch 'master' into bring-back-asar 2017-08-15 10:03:27 +02:00
Ian Olsen
099df7eacc Merge branch 'master' into pb-remove-unneeded-files-win 2017-08-08 14:10:51 -07:00
Ash Wilson
d920d20c2f :burn: diagnostic code 2017-08-08 12:42:01 -04:00
Ash Wilson
1f56713702 Un-exclude nsfw 2017-08-02 11:50:07 -04:00
Ash Wilson
318708bb42 wip 2017-08-02 09:50:57 -04:00
Damien Guard
8130850e2a Bring in latest code signing changes from 1.19-releases by hand. 2017-07-20 09:33:44 -07:00
Damien Guard
db2800dac9 Sign manually without using Squirrel 2017-07-19 11:48:31 -07:00
Paul Betts
7df6b14d0b More excludes 2017-06-15 17:10:10 -07:00
Paul Betts
2ede9aaf85 Exclude 3MB of Markdown files 2017-06-15 17:10:10 -07:00
Paul Betts
8b20dda24b omg are you srs 2017-06-15 17:10:10 -07:00
Paul Betts
2acf1467fc Exclude docs and samples too 2017-06-15 17:10:10 -07:00
Paul Betts
205d32cab8 Don't ship libgit2 in-box 2017-06-15 17:10:10 -07:00
Paul Betts
1895121784 Exclude lots of native node module cruft 2017-06-15 17:10:09 -07:00
Paul Betts
22d48ea117 What was I thinking 2017-06-15 11:14:50 -07:00
Paul Betts
440bd7e7d8 Also exclude Dugite's copy of git 2017-06-15 11:14:50 -07:00
Paul Betts
33f5cdd7b3 Put Shell scripts outside of ASAR 2017-06-15 11:14:50 -07:00
Paul Betts
4b3e298e3c Revert "Copy atom.png from the appropriate location on Linux"
This reverts commit 6aacd3d76e.
2017-06-15 11:14:50 -07:00
Paul Betts
75b91cf8c0 Bring back the asar package command 2017-06-15 11:14:50 -07:00
Paul Betts
e9208cc580 Revert "Delete obsolete asar code"
This reverts commit 889f480c35.
2017-06-15 11:14:50 -07:00
Michelle Tilley
1f56e068cd Update docs and checks for Node 6 2017-05-30 17:08:12 -07:00
Wliu
7a93e9d8c4 👕 2017-05-30 15:42:16 -04:00
Wliu
16be073c91 Merge branch 'master' into wl-build-on-node-7 2017-05-30 15:40:02 -04:00
Antonio Scandurra
cdb399295b Don't snapshot the iconv-lite module
When deciding which methods to export, `iconv-lite` verifies the
availability of some Node features, which is clearly an unsupported
behavior when executing it via `mksnapshot`.

In this case we were not getting any exception at compile-time, but we
noticed some methods were missing from iconv-lite's API. With this
commit we are excluding this module from the snapshot, thus making all
of its methods available again.
2017-05-22 09:16:56 +02:00
Michelle Tilley
8528021f74 Remove atomTransilers from package.json after transpiling in-place 2017-05-18 10:15:02 +02:00
Michelle Tilley
ddfd30bc22 Unregister custom package transpilation config after transpilation 2017-05-17 20:23:59 +02:00
Michelle Tilley
6e61fe9a32 Install devDeps in the root package path where they're not cached 2017-05-17 19:01:36 +02:00
Michelle Tilley
8303e179ae Extract backup-node-modules.js 2017-05-17 17:53:36 +02:00
Katrina Uychaco
8df4a747d6 WIP install dev dependencies when transpiling 2017-05-17 17:53:35 +02:00
Damien Guard
3114df611a Drop MSI packages as they are more confusing than helpful 2017-05-15 09:06:46 -07:00