Permalink
Browse files

Rename combined js file (compiler.js) to web-js;

compiler.js is ambiguous.
  • Loading branch information...
1 parent 3505751 commit 0beffd1bec2a236176f63f84d93a70fe9e3acabd @gfx gfx committed Apr 13, 2012
Showing with 12,046 additions and 8 deletions.
  1. +0 −3 .gitignore
  2. +1 −1 web/.gitignore
  3. +1 −1 web/app.psgi
  4. +1 −2 web/build.pl
  5. +6,021 −0 web/js/compiler.js
  6. +6,021 −0 web/js/jsx-web.js
  7. +1 −1 web/static/index.html
View
@@ -1,8 +1,5 @@
*~
*.swp
node_modules/
-blib/
-tool/js
-jsx.js
_builtins.js
View
@@ -1 +1 @@
-compiler.js
+jsx-web.js
View
@@ -26,7 +26,7 @@ builder {
mount '/js' => sub {
my($env) = @_;
- my @cmd = ($build, "$root/..", "$root/js/compiler.js");
+ my @cmd = ($build, "$root/..", "$root/js/jsx-web.js");
system(@cmd) == 0 or die "Failed to build: @cmd";
return $js->(@_);;
View
@@ -50,8 +50,6 @@ sub buildBuiltinJS {
}, "$root/lib";
foreach my $file(@files) {
- print STDOUT "$file\n";
-
open my $jsx, "<", $file;
my $basename = basename($file);
@@ -86,6 +84,7 @@ sub buildBuiltinJS {
sub buildCompilerJS {
my($root, $build, $target) = @_;
+ say "build $target";
my @files;
find {
no_chdir => 1,
Oops, something went wrong.

0 comments on commit 0beffd1

Please sign in to comment.