Commit Graph

13 Commits

Author SHA1 Message Date
icecream17
790511ac51 Fix npm ENOENT error in install-script-runner-dependencies
Despite what https://github.com/atom/atom/pull/23322 is named,
the pull request actually makes install-script-dependencies
use the non-local npm binary.

So this pr fixes install-script-runner-dependencies by making the npmBinPath
consistent with install-script-dependencies

ENOENT detected by https://github.com/atom-community/atom/pull/351,
specifically https://dev.azure.com/atomcommunity/atomcommunity/_build/results?buildId=1132&view=logs&j=2985f0af-e798-5fdc-91b8-be9f0a3685c5&t=0a53f124-4db9-5fc3-be81-e293757effc7&l=16
2022-02-26 16:26:23 -06:00
sadick254
309ecff84d Use correct npm bin name depending on the OS 2021-12-03 16:26:23 +03:00
sadick254
36562eaea1 Install using npm installed during installation of script dependencies 2021-12-03 14:19:52 +03:00
Benjamin Gray
40175271d2 Remove electron configuration (#21354)
* remove electron configuration
2020-10-08 20:14:44 +03:00
DeeDeeG
9e8b0b14fa script: Use "ELECTRON_CUSTOM_VERSION" env variable
New feature as of electron-chromedriver >= 9.0.0
and electron-mksnapshot >= 9.0.2:
an environment variable "ELECTRON_CUSTOM_VERSION",
which allows downloading the specified (Electron-vendored)
version of chromedriver and mksnapshot,
irrespective of the versions of electron-chromedriver
or electron-mksnapshot (node modules) used to download them.

We can use the latest electron-chromedriver and electron-mksnapshot
now, if we want. Just set ELECTRON_CUSTOM_VERSION to the right version
(handled automatically based on "electronVersion" in package.json).
2020-06-03 13:45:49 -04:00
Rafael Oleza
7f3f040628 Reformat all JS files using prettier 2019-05-31 18:33:56 +02:00
Ash Wilson
d0811b82ed Add a --ci option to script/build 2018-08-08 08:41:30 -04:00
Wliu
7bb08e39f3 👕 2017-01-24 23:41:30 -05:00
Antonio Scandurra
14611926ac Ensure script/bootstrap works after cleaning dependencies up 2016-08-29 13:40:17 +02:00
Antonio Scandurra
e3e85e4780 Put back mistakenly deleted requires 2016-08-16 12:46:37 +02:00
Antonio Scandurra
d7f7f3527e Extract a spawnSync helper that throws on command errors 2016-08-16 12:29:42 +02:00
Antonio Scandurra
d089c94f3b Remove trailing ... in log messages 2016-08-08 15:18:21 +02:00
Antonio Scandurra
cf85bd032d Reimplement script/bootstrap 2016-08-02 14:04:45 +02:00