0
0
mirror of https://github.com/nodejs/node.git synced 2024-11-29 07:00:59 +01:00

Rename main.js to node.js.

This commit is contained in:
Ryan 2009-05-13 21:43:24 +02:00
parent f6c955b7f4
commit 3212b31ea1
3 changed files with 2 additions and 2 deletions

View File

@ -287,7 +287,7 @@ main (int argc, char *argv[])
ExecuteString(String::New(native_file), String::New("file.js"));
if (try_catch.HasCaught()) goto native_js_error;
ExecuteString(String::New(native_main), String::New("main.js"));
ExecuteString(String::New(native_node), String::New("node.js"));
if (try_catch.HasCaught()) goto native_js_error;
ev_loop(EV_DEFAULT_UC_ 0);

View File

@ -139,7 +139,7 @@ def build(bld):
js2c.JS2C(source, targets)
native_cc = bld.new_task_gen(
source="src/http.js src/file.js src/main.js",
source="src/http.js src/file.js src/node.js",
target="src/natives.h",
rule=javascript_in_c,
before="cxx"