Commit graph

711 commits

Author SHA1 Message Date
Cheng Zhao
ae70d5cb64 Silence the output of upload script. 2013-09-26 20:58:51 +08:00
Cheng Zhao
db359ae75c Upload the asset after release note is created. 2013-09-26 20:32:11 +08:00
Cheng Zhao
3586565bba Handle the assets uploading in the GitHub API library. 2013-09-26 20:31:17 +08:00
Cheng Zhao
fe67ecd7fd 💄 Find the release even when commit isn't tagged. 2013-09-26 19:54:28 +08:00
Cheng Zhao
33c509b867 Create new release note or get the existing one when uploading. 2013-09-26 19:49:09 +08:00
Cheng Zhao
3edfb7d5c3 Correctly deal with API errors. 2013-09-26 19:48:48 +08:00
Cheng Zhao
eed2b0fd81 Accept still-preview apis. 2013-09-26 16:38:08 +08:00
Cheng Zhao
4c4b8a8486 Add a simple wrapper of GitHub API. 2013-09-26 16:32:39 +08:00
Cheng Zhao
6c098deb57 💄 Fix cpplint warnings. 2013-09-12 13:03:57 +08:00
Cheng Zhao
aad0c8e996 Update node to v0.10.18. 2013-09-05 15:15:13 +08:00
Cheng Zhao
9ba08d5e67 💄 fix reversed flag for updating latest version. 2013-09-02 18:17:06 +08:00
Cheng Zhao
3b149945bf Upload a fake empty x64 node.lib.
We only allow building ia32 build of atom-shell, so the x64 node.lib is
not in use, but it's required by node-gyp.
2013-09-02 13:27:26 +08:00
Cheng Zhao
5fe9f281ac Only generate node.lib when we need to upload node headers. 2013-08-31 17:00:13 +08:00
Cheng Zhao
e7d4b44d05 💄 for node version and upload node.lib. 2013-08-31 15:20:59 +08:00
Cheng Zhao
5787b4cd6f Also ship ffmpegsumo.dll in the distribution. 2013-08-31 11:13:11 +08:00
Cheng Zhao
a26308d902 Use node's version for the node headers tarball. 2013-08-31 10:51:53 +08:00
Cheng Zhao
c2093946c8 Add flag for upload script to skip updating version.
When uploading multiple distributions in future, we need to make sure
all distributions have to ben uploaded before triggering the
update-atom-shell script of Atom.
2013-08-31 10:48:47 +08:00
Cheng Zhao
0286379706 Don't require multipart for uploading to S3.
The file we are uploading is not large, and multipart works really bad
on bad networking.
2013-08-31 10:36:13 +08:00
Cheng Zhao
6765ec30f1 The distribution name should contain version and platform. 2013-08-31 10:35:01 +08:00
Cheng Zhao
beba27ed1e Create zip distribution for binaries on Windows. 2013-08-31 09:37:23 +08:00
Cheng Zhao
24f510ca03 Ship correct binaries on Windows. 2013-08-31 09:06:27 +08:00
Cheng Zhao
2cbe823773 Use Chromium V8's headers in the node headers tarball. 2013-08-31 08:22:16 +08:00
Cheng Zhao
c87956ef4f Make sure cibuild calls all necessary scripts. 2013-08-21 21:41:34 +08:00
Cheng Zhao
7cc1589097 Abort when there is a error in cpplint. 2013-08-21 21:35:41 +08:00
Cheng Zhao
e8ecbec3a7 💄 2013-08-21 21:24:18 +08:00
Cheng Zhao
4914dd67b6 Also upload node's headers to S3. 2013-08-21 12:16:40 +08:00
Cheng Zhao
1e895bdf76 Create the tarball containing node's headers. 2013-08-21 12:09:26 +08:00
Cheng Zhao
5b74dff8f1 Generate the distribution file under 'dist' directory. 2013-08-21 11:57:35 +08:00
Cheng Zhao
5b862fdf60 Also copy gyp files when copying headers. 2013-08-21 11:52:13 +08:00
Cheng Zhao
d160da7752 Add script to run specs in CI, fixes #61. 2013-08-21 11:41:08 +08:00
Paul Betts
22c8b55cb9 Fix invocation of npm on non-Cygwin 2013-08-20 16:37:02 +02:00
Cheng Zhao
cdbb16d8fe 💄 for cpplint. 2013-08-17 16:28:06 +08:00
Cheng Zhao
979ec05ed3 [Win] Fix running node from python.
There is a mysterious "WindowsError [error 5] Access is denied" error is
the "executable" is not specified under Windows.
2013-08-16 16:28:45 +08:00
Cheng Zhao
452c350798 💄 for cpplint. 2013-08-13 17:07:36 +08:00
Cheng Zhao
a27009f0a9 Upload to S3 with readable version. 2013-08-12 15:01:05 +08:00
Cheng Zhao
3da4736a2b Collect header files from vendor/node. 2013-08-12 15:00:50 +08:00
Cheng Zhao
963b73a8aa Use result of git describe as version. 2013-08-08 17:49:35 +08:00
Cheng Zhao
47be87fe5f Only zip specified files. 2013-08-08 17:13:45 +08:00
Cheng Zhao
317bd0debf Discard the extra node binary.
We now use atom-shell's binary to execute scripts.
2013-08-08 16:57:07 +08:00
Cheng Zhao
296feb1a50 💄 on string comparison. 2013-08-06 20:44:18 +08:00
Cheng Zhao
c5e0ae6495 Fix calling apm under cygwin. 2013-08-06 20:14:28 +08:00
Cheng Zhao
6e90430df5 Use apm to install third party node modules. 2013-08-03 16:39:54 +08:00
Cheng Zhao
192216ea64 Update node before running npm. 2013-08-03 16:38:02 +08:00
Cheng Zhao
247f7a51eb Fix the update-node script. 2013-07-31 12:14:58 +08:00
Cheng Zhao
e1ac21aa7a Add script translate addresses in crash report into symbols. 2013-07-28 10:04:56 +08:00
Cheng Zhao
f8090dc010 Fix the update-node script for our new style of URLs. 2013-07-26 19:52:47 +08:00
Cheng Zhao
d7351f102f Update node to v0.10.5. 2013-07-26 19:31:58 +08:00
Cheng Zhao
b91f29429e Fix updating the win32 python repo. 2013-07-24 18:33:49 +08:00
Cheng Zhao
99c37fc902 [Win] Pass relative path in the test script.
Parameter starting with '/' could be thought as switches under Windows.
2013-07-19 10:41:24 +08:00
Cheng Zhao
2af41ae56d Add script to run test. 2013-07-17 16:42:06 +08:00
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