Commit Graph

76 Commits

Author SHA1 Message Date
Cheng Zhao
645fc1511a Do not add parameter in shebang string.
On Linux "#!/usr/bin/env node --harmony_collections" is unfortunately
not recognized by system.
2014-03-25 15:40:43 +08:00
Nathan Sobo
65ff108615 Warn and exit if script/bootstrap is run with wrong node version 2014-03-20 13:05:49 -06:00
Kevin Sawicki
f912eb805d Add npm as build dependency
This switches script/bootstrap to use a locally installed npm so that
the version of npm being used to bootstrap apm is now managed in
build/package.json instead of whatever version is installed globally on the
machine running script/bootstrap.

Closes #1770
2014-03-19 08:41:08 -07:00
Kevin Sawicki
f1b0390b9b Remove apm from node_modules 2014-03-04 17:26:52 -08:00
Kevin Sawicki
01eb6e31ba Revert "Set --ca to null on the command line"
This reverts commit 7f4c8023aee10ded0088076773c6c13f92993aab.
2014-03-04 10:19:20 -08:00
Kevin Sawicki
071e6f885f Set --ca to null on the command line 2014-03-04 10:19:20 -08:00
Kevin Sawicki
5fcde96f88 Add .npmrc file with default ca value 2014-03-04 10:19:20 -08:00
Kevin Sawicki
d8e314b0a0 Upgrade apm to include bundled node 2014-03-03 12:43:01 -08:00
Kevin Sawicki
d660e9a066 Go back to strict-ssl false 2014-02-28 10:01:54 -08:00
Kevin Sawicki
abcaaa3264 Try single quotes for empty ca arg 2014-02-28 09:53:39 -08:00
Kevin Sawicki
7f2b871885 Use known list of registrars 2014-02-28 09:43:38 -08:00
Kevin Sawicki
e51dd05989 Disable strict-ssl for now on janky machines
This is until we can get npm upgraded there.
2014-02-28 09:33:18 -08:00
Kevin Sawicki
3434a68ac0 Only use token to download grunt-download-atom-shell 2014-02-25 19:55:19 -08:00
Kevin Sawicki
9a941b97cb Use new atom-bot token 2014-02-25 19:52:59 -08:00
Kevin Sawicki
0dce31e02d Don't dedupe nan 2014-02-17 15:26:40 -08:00
Kevin Sawicki
d79d819048 Dedupe fs-plus and season 2014-01-31 14:09:19 -08:00
Kevin Sawicki
677ec44b37 Dedupe humanize-plus 2014-01-16 18:54:58 -08:00
Kevin Sawicki
4122b5a43f Dedupe nan module 2014-01-15 16:58:43 -08:00
Kevin Sawicki
2d04c50184 Dedupe oniguruma 2014-01-15 16:24:30 -08:00
Kevin Sawicki
f86ca9b59a 💄 Add array of packages to dedupe 2014-01-15 15:48:19 -08:00
Kevin Sawicki
58cccd76a4 Dedupe roaster when bootstrapping 2014-01-15 15:48:19 -08:00
Kevin Sawicki
601466782f Install build dependencies in tasks/node_modules 2014-01-03 08:32:22 -08:00
Kevin Sawicki
902406c572 Enable harmony collections in all scripts 2013-12-31 14:40:45 -08:00
Kevin Sawicki
cef7577826 Install apm into node_modules
settings-views launches apm via a NodeBufferedProcess so it still needs to
be available built against Atom's headers.

The version in apm/ is just for running via the CLI directly and is compiled
against node's headers.
2013-12-17 19:25:44 -08:00
Kevin Sawicki
75c573fe61 Run apm commands from new apm directory 2013-12-17 16:53:31 -08:00
Kevin Sawicki
ed8800d182 Install apm to apm/ from vendor/apm 2013-12-17 16:53:31 -08:00
Kevin Sawicki
31fc4fcde8 Disable colors in constructicon output 2013-12-17 09:22:14 -08:00
Kevin Sawicki
f48514114d Disable colors when BUILT_PRODUCTS_DIR env var is set 2013-12-17 09:15:04 -08:00
Kevin Sawicki
e5bd341f05 Set npm log level to warn instead of silent 2013-12-11 10:03:32 -08:00
Kevin Sawicki
e9d4563084 Disable apm colors in CI builds 2013-12-11 09:40:30 -08:00
Kevin Sawicki
2136fdaa60 Set cwd to vendor/apm instead of cd'ing 2013-12-10 14:11:10 -08:00
Kevin Sawicki
31a909828d Don't override ATOM_ACCESS_TOKEN if already set 2013-12-04 14:40:37 -08:00
Kevin Sawicki
63dc8863e3 Use atom-bot's token as ATOM_ACCESS_TOKEN 2013-12-04 11:38:25 -08:00
Kevin Sawicki
caffcafe2e 🙉 Ignore stdout from installation of apm 2013-11-15 09:54:36 -08:00
Kevin Sawicki
b0da17701b Run apm clean during bootstrap
Closes #905
2013-11-02 19:29:52 -07:00
Cheng Zhao
53954c236c Use the apm in node_modules/atom-package-manager instead of vendor/apm. 2013-10-30 23:44:05 +08:00
Cheng Zhao
e4400c648d Revert "Run apm from node_modules"
This reverts commit 8742f6c06c.

The `node_modules/.bin/apm` is a bash script not a js script, so on
Windows `node node_modules/.bin/apm` would fail with:

```
C:\cygwin\home\zcbenz\codes\atom\node_modules\.bin\apm:2
basedir=`dirname "$0"`
        ^
SyntaxError: Unexpected token ILLEGAL
    at Module._compile (module.js:439:25)
    at Object.Module._extensions..js (module.js:474:10)
    at Module.load (module.js:356:32)
    at Function.Module._load (module.js:312:12)
    at Function.Module.runMain (module.js:497:10)
    at startup (node.js:119:16)
    at node.js:901:3
```
2013-10-30 10:51:06 +08:00
Kevin Sawicki
2f62123a75 Merge branch 'master' into win-bootstrap-native-modules 2013-10-28 17:33:39 -07:00
Kevin Sawicki
8742f6c06c Run apm from node_modules 2013-10-26 14:54:23 -07:00
Kevin Sawicki
e4fc15deec Remove cmake check since it is no longer required 2013-10-25 10:01:43 -07:00
probablycorey
c1b0ba2773 Check for cmake dependency before building Atom 2013-10-24 14:40:03 -07:00
Cheng Zhao
082686bba8 Fix bootstrap script on Windows. 2013-10-19 22:11:03 +08:00
Cheng Zhao
53b4b1c349 💄 Remove unsed variable. 2013-10-14 16:59:31 +08:00
Cheng Zhao
1d343dd483 Make the safeSpawn function a util module. 2013-10-14 15:14:03 +08:00
Cheng Zhao
e17c9ced57 Rewrite script/build in js. 2013-10-14 14:37:16 +08:00
Cheng Zhao
8edd6ad5d5 Rewrite bootstrap script in js. 2013-10-14 14:18:04 +08:00
Kevin Sawicki
25434e943e Silently install apm's dependencies 2013-09-02 21:25:06 -07:00
Kevin Sawicki
c747e1c686 Separate npm and apm output with an empty line 2013-08-14 08:46:53 -07:00
probablycorey
7163d8dc71 Make atom work with constructicon 2013-06-20 12:15:34 -07:00
Cheng Zhao
feab9862ac Update apm for node v0.10.9. 2013-06-06 09:57:03 +08:00