Amin Yahyaabadi
f8993f390d
build: fix the permissions of the scripts on unix
2022-07-09 22:39:33 -07:00
Amin Yahyaabadi
9794abce55
fix: deprecate shell scripts and extension less scripts
2022-07-09 21:38:26 -07:00
Amin Yahyaabadi
48cebc86ea
fix: use node shabang for backwards compatibility
2022-07-09 21:27:57 -07:00
Amin Yahyaabadi
c6a39b5887
build: add file extension for js files + create sh scripts + lint
2022-07-09 17:28:31 -07:00
Amin Yahyaabadi
609f2236ec
parallelize clean
2020-10-01 22:02:00 -05:00
Amin Yahyaabadi
4baccf2313
parallelize copy-assets
2020-10-01 05:54:09 -05:00
Amin Yahyaabadi
ed3f73c1bd
run prebuildLessCache in series
2020-09-30 01:46:31 -05:00
Amin Yahyaabadi
2ad224b2ad
use async await in build
2020-09-30 01:46:31 -05:00
Amin Yahyaabadi
ebfea74cf7
make transpile parallel
2020-09-30 01:46:31 -05:00
Amin Yahyaabadi
0ad2f9b7bf
execFileSync bootstrap in build script
2020-09-13 21:16:37 -05:00
Benjamin Gray
e4701771b8
Improve CS require comment ( #21062 )
...
Turns out the comment was misleading; the build also fails to find modules like `donna` without the import.
I've instead changed the message to make it more vague, so removal requires more consideration.
2020-09-11 12:20:27 +03:00
Mazen El-Kashef
3540dae7c0
re-enable notarization
2020-02-27 13:38:15 -05:00
Mazen El-Kashef
11b814d736
disable notarization to get an artifact
2020-02-27 11:48:31 -05:00
Mazen El-Kashef
08fbd4587a
correct notarize-on-mac helper path
2020-02-26 11:46:50 -05:00
Mazen El-Kashef
49eab7eb57
add notarization
2020-02-26 11:31:17 -05:00
Mazen El-Kashef
7fc1064e88
re-implement code signing using async §electron-osx-sign
2020-02-24 23:52:47 -05:00
Mazen El-Kashef
e897ae2007
revert notarization
2020-02-07 15:08:55 -05:00
Mazen El-Kashef
fbc06f50a8
switch from atom's special winstaller version to electron's winstaller
2020-01-25 02:28:15 -05:00
Mazen El-Kashef
0f521f1e8a
Add notarization to the build process
2020-01-24 03:31:03 -05:00
Rafael Oleza
27e9ab8d32
Use the correct executable name on the code signing tool
2019-07-16 18:32:24 +02:00
Rafael Oleza
2c516fb705
⬆️ electron-winstaller
...
With this PR Atom uses a custom version of `electron-winstaller` named
`@atom/electron-winstaller` which contains a custom version of `Squirrel.Windows`
built from https://github.com/Squirrel/Squirrel.Windows/pull/149
This should fix the issues when upgrading from e.g nightly-9 to
nightly-10
2019-06-19 17:06:44 +02:00
Rafael Oleza
0e7d99dce9
Update name of windows autoupdater executable
2019-06-17 19:35:44 +02:00
Jason Rudolph
0baff74cee
Always show warning if --test-sign arg is used when building win32
...
/xref https://github.com/atom/atom/pull/18116#discussion_r284952925
2019-05-21 10:24:44 -04:00
David Wilson
203fbbd074
Added --test-sign to script/build to sign local builds of Atom on macOS
2019-05-15 15:46:46 -07:00
Jason Rudolph
5f52a8e0b0
Lint earlier in the build process
2019-04-02 19:43:44 -04:00
Ash Wilson
c513d1c024
Set ELECTRON_VERSION to the current Electron version.
2019-03-06 10:39:33 -05:00
Ash Wilson
d0811b82ed
Add a --ci option to script/build
2018-08-08 08:41:30 -04:00
Ash Wilson
b369a971e1
Don't clean package-lock.json files any more
2018-07-16 09:47:58 -04:00
David Wilson
34e37f3159
Enable automated nightly Atom releases
...
This change adds automation for producing nightly Atom releases using
VSTS CI. Most of the changes are just slight modifications to Atom's
existing build scripts to produce another build channel and publish
those artifacts in a way that can be installed and updated when new
releases are available.
2018-06-18 21:01:19 -07:00
Landon Abney
5e49917c56
Wrap binariesPromise handling in an if
...
Instead of forcing an immediate exit with process.exit(), wrap the
handling of binariesPromise in an `if` statement, allowing the script to
exit on its own if passed the new option.
2018-06-01 09:31:03 -07:00
Landon Abney
bb7046830a
Revert moving of dependencies
...
This change isn't necessary for adding the option.
2018-06-01 09:29:29 -07:00
Landon Abney
53ef5ca4cc
Add --generate-api-docs to build script
...
Add a new option `--generate-api-docs` that changes the build script to
only do what is required to build the API documentation, skipping the
process of building the full Atom binaries.
2018-03-30 13:10:32 -07:00
lee-dohm
1aeff19eab
Forgot to check in the require
2018-01-04 13:02:21 -08:00
lee-dohm
fa96a90e12
Remove unused package-lock.json files before building
2018-01-04 12:54:42 -08: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
Damien Guard
dcbb72bbec
Do not dump symbols when using existing binaries. Change command switch name
2017-07-17 14:41:12 -07:00
Damien Guard
fe147ccf2e
Only dumpSymbols if rebuilding binaries during build
2017-07-17 13:00:40 -07:00
Damien Guard
4354b8b7b3
Add --existing-artifacts switch to script\build
2017-07-12 11:32:44 -07:00
Wliu
7c2510eb9c
Merge branch 'master' into wl-build-on-node-7
2017-05-11 12:06:26 -04:00
Damien Guard
cfa072017d
Sign without Squirrel if --code-sign without --create-windows-installer
2017-04-17 18:11:57 -07:00
Michelle Tilley
6425b5e069
Merge pull request #14131 from atom/mkt-prepare-build-for-per-package-transpilation
...
Update build to pre-compile packages with per-package transpilation configs
2017-04-06 00:39:50 -07:00
Michelle Tilley
bd31a2d166
Better wording around transpiling packages with custom transpilers
2017-04-04 12:13:04 -07:00
Michelle Tilley
155c3a14bf
Perform per-package transpilation on bundled packages during build
2017-04-04 07:54:14 -07:00
Krzesimir Nowak
de9f491474
Allow specifying installation directory
2017-03-28 11:40:40 +02:00
Wliu
27c66300e4
Merge branch 'master' into wl-build-on-node-7
2017-03-21 23:25:31 -04:00
Antonio Scandurra
d73547242b
Run script/bootstrap during script/build
2017-03-02 08:29:45 +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