Commit graph

711 commits

Author SHA1 Message Date
Cheng Zhao
45285c8c9c Should install node modules for default_app and spec when bootstrap. 2013-07-17 16:29:40 +08:00
Cheng Zhao
a3d362127e Make sure atom-shell is build before creating distribution. 2013-07-17 10:57:25 +08:00
Cheng Zhao
598f3cdcd9 Update gyp and depot_tools. 2013-07-10 08:36:26 +08:00
Cheng Zhao
950c09f2e7 Use depot_tools to provide ninja binary and cpplint. 2013-07-07 16:25:50 +08:00
Cheng Zhao
003c5a1227 Fix uploading the version file to wrong place. 2013-07-03 17:46:14 +08:00
Cheng Zhao
7c2a4882a6 Make sure the fake config.gypi can be parsed by node.js. 2013-07-02 22:32:14 +08:00
Cheng Zhao
9c9d62c3a9 Should write a meaningful config.gypi for node.
Node is parsing it for 'process.config', empty file would cause
exception.
2013-07-02 22:23:13 +08:00
Cheng Zhao
e87a7c286c Don't throw exception when gyp fails.
This makes output cleaner when we got a gyp error.
2013-07-02 09:33:11 +08:00
Cheng Zhao
dc1655979e Only create config.gypi if it doesn't exist.
Otherwise every call of bootstrap would trigger recompilation of some
files.
2013-07-02 09:31:43 +08:00
Cheng Zhao
a749a6dc2d Include node's config.gypi in atom-shell.
Removed 3 commits of our node fork.
2013-07-02 09:16:56 +08:00
Cheng Zhao
90ab2dcc7e Fix update-frameworks. 2013-07-01 22:27:14 +08:00
Cheng Zhao
ec5fc10bd9 Fix calling compile-coffee under cygwin. 2013-07-01 18:04:15 +08:00
Cheng Zhao
5ccff31f52 Add switch to skip operations require networking.
I'm on a slow network :-(
2013-07-01 16:12:31 +08:00
Cheng Zhao
74fe79ce62 We don't need to force updating to latest npm. 2013-07-01 16:06:37 +08:00
Cheng Zhao
f510f77b98 Use win32 python to call gyp when running under cygwin. 2013-07-01 15:49:52 +08:00
Cheng Zhao
1edf3bd12f Pull in precompiled python under cygwin. 2013-07-01 15:21:57 +08:00
Cheng Zhao
bafd6a5c49 Ship gyp. 2013-07-01 15:21:56 +08:00
Cheng Zhao
97a38fe55d Only download frameworks on OS X. 2013-07-01 15:21:55 +08:00
Cheng Zhao
8034afdcdf Update npm after node is downloaded.
So we can execute npm even without system node.
2013-07-01 15:21:55 +08:00
Cheng Zhao
1dff44340a Also ship version and LICENSE file with dist. 2013-06-29 11:52:58 +08:00
Cheng Zhao
0af724205c Make sure dist is created for the HEAD before uploading. 2013-06-29 11:36:02 +08:00
Cheng Zhao
c651e96708 Clean unused bash script. 2013-06-25 09:20:55 +08:00
Cheng Zhao
40ed17d8fd Modify upload script to obey chromium's style. 2013-06-24 17:56:51 +08:00
Cheng Zhao
b17a6c9887 Remove the download script. 2013-06-24 17:54:56 +08:00
Cheng Zhao
5845740844 Update create-dist script for changes of building system. 2013-06-24 17:51:48 +08:00
Cheng Zhao
cce712549b Rewrite cpplint script in python. 2013-06-24 17:03:48 +08:00
Cheng Zhao
5c48f03dfe Rewrite compile-coffee script in python. 2013-06-24 16:24:19 +08:00
Cheng Zhao
85d7e7b034 Don't throw exception when ninja quit unnormally. 2013-06-24 16:05:22 +08:00
Cheng Zhao
5c4c86c6ef Rewrite build script in python. 2013-06-24 15:36:38 +08:00
Cheng Zhao
3cc304cbe5 Rewrite update script in python. 2013-06-24 15:24:30 +08:00
Cheng Zhao
6bb3f1bba8 Merge branch 'master' into python
Conflicts:
	script/update
2013-06-22 07:55:51 +08:00
Cheng Zhao
354a1c555b Update node to v0.10.12. 2013-06-21 12:28:23 +08:00
Cheng Zhao
1eb521d32a Use unzip command on Mac to keep symbol links in zip file work. 2013-06-21 10:32:57 +08:00
Cheng Zhao
2f50102b50 Rewrite update-frameworks script in python. 2013-06-20 23:23:22 +08:00
Cheng Zhao
9bcb677012 Simplify download function. 2013-06-20 23:10:00 +08:00
Cheng Zhao
993c7ad650 Use .py suffix for python scripts, we're following chromium. 2013-06-20 22:55:54 +08:00
Cheng Zhao
9983e7c0ba Move helper functions into a common module. 2013-06-20 22:51:58 +08:00
Cheng Zhao
07260731ca Rewrite update-node script in python. 2013-06-20 22:49:11 +08:00
Cheng Zhao
6d187cbb7d Build atom-shell with ninja. 2013-06-19 21:34:43 +08:00
Cheng Zhao
467b2b154f Add script to find existing Mac SDK (taken from chromium). 2013-06-19 21:34:24 +08:00
Cheng Zhao
9b66f357e3 Rewrite bootstrap script in python. 2013-06-19 14:32:41 +08:00
Cheng Zhao
c9e9080a35 Fix cpplint errors. 2013-06-19 13:24:13 +08:00
Cheng Zhao
09f8488893 Set base url in bootstrap script by default. 2013-06-19 10:54:05 +08:00
Cheng Zhao
6a5842d03a Don't download frameworks if they exist. 2013-06-03 18:08:18 +08:00
Cheng Zhao
600f38c94d Don't ship frameworks in repository, instead we download them. 2013-06-03 17:58:20 +08:00
Cheng Zhao
c6ce3b789b Update node binary to v0.10.9. 2013-06-02 12:25:16 +08:00
Cheng Zhao
e6b4d52ee5 Rollback node to v0.10.5, there is ABI changes in V8. 2013-06-01 01:47:58 +08:00
Cheng Zhao
bdf12ddf3e Update node to v0.10.9. 2013-06-01 01:10:39 +08:00
Cheng Zhao
de8d713630 It seems that shutil.make_archive doesn't support symbol links, invoke the zip command instead. 2013-05-13 16:22:21 +08:00
Cheng Zhao
836f29add6 When copying bundle the symbol links should be kept. 2013-05-13 15:27:49 +08:00
Cheng Zhao
fc4dd0aecb Save the latest version when uploading distribution. 2013-05-12 17:44:03 +08:00
Cheng Zhao
e065067d6d Add script to download atom-shell.
The scripts are stolen from aroben/libchromiumcontent.
2013-05-12 16:16:52 +08:00
Cheng Zhao
3290c05e75 Add script to make distribution and upload.
The scripts are stolen from aroben/libchromiumcontent.
2013-05-12 16:16:02 +08:00
Cheng Zhao
ebac5f9ed5 Ship the custom node binary build with atom-shell.
This is required by the child_process.fork, which is indeed executing
the node binary to start a script.

The node fork can be found at:
https://github.com/atom/cefode-node/tree/chromium-v8
2013-05-11 21:07:03 +08:00
Cheng Zhao
9b75019898 Add 'quit' and 'window-all-closed' events for app module. 2013-05-03 10:53:54 +08:00
Cheng Zhao
b0b72c36e4 Ignore api_messages.{cc,h} for cpplint. 2013-04-21 15:36:48 +08:00
Cheng Zhao
ee420b1590 Write js codes in coffee script. 2013-04-14 22:48:35 +08:00
Cheng Zhao
ad708fdfbd Add script to check coding styles. 2013-04-14 17:34:51 +08:00
Cheng Zhao
939b695675 Build with node. 2013-04-12 22:52:32 +08:00
Cheng Zhao
87dbf82d83 Pass brightray.gypi via parameters.
We need to make sure node.gyp can get variables in brightray.gypi, this
needs minimum modifications.
2013-04-12 21:17:54 +08:00
Cheng Zhao
a915cf2e81 Initial empty browser. 2013-04-12 10:14:23 +08:00