Skip to content

Commit

Permalink
Updated builder
Browse files Browse the repository at this point in the history
  • Loading branch information
rauchg committed May 30, 2011
1 parent 49816ac commit 1c9db6c
Showing 1 changed file with 14 additions and 14 deletions.
28 changes: 14 additions & 14 deletions bin/build
Expand Up @@ -14,27 +14,27 @@
*/

var fs = require('fs'),
socket = require('../lib/io'),
io = require('../lib/io'),
jsp = require('../lib/vendor/uglifyjs/lib/parse-js'),
pro = require("../lib/vendor/uglifyjs/lib/process"),
ast,
files = [
'io.js',
'util.js',
'events.js',
'json.js',
'parser.js',
'transport.js',
'transports/xhr.js',
'transports/websocket.js',
'transports/flashsocket.js',
'transports/htmlfile.js',
'transports/xhr-multipart.js',
'transports/xhr-polling.js',
'transports/jsonp-polling.js',
'socket.js',
'vendor/web-socket-js/swfobject.js',
'vendor/web-socket-js/web_socket.js'
'transports/xhr.js',
'transports/xhr-polling.js',
'transports/jsonp-polling.js',
'transports/websocket.js',
'transports/htmlfile.js',
'namespace.js',
'socket.js'
],
content = "/** Socket.IO "+ socket.io.version +" - Built with build.js */\n",
license = "/* Socket.IO.min "+ socket.io.version +" @author Guillermo Rauch <guillermo@learnboost.com>, @license The MIT license., @copyright Copyright (c) 2010 LearnBoost <dev@learnboost.com> */\n";
content = "/** Socket.IO "+ io.version +" - Built with build.js */\n",
license = "/* Socket.IO.min "+ io.version +" @author Guillermo Rauch <guillermo@learnboost.com>, @license The MIT license., @copyright Copyright (c) 2010 LearnBoost <dev@learnboost.com> */\n";

console.log('Reading files…');

Expand All @@ -56,4 +56,4 @@ ast = pro.ast_squeeze(ast);
fs.write(fs.openSync(__dirname + '/../socket.io.min.js', 'w'), license + pro.gen_code(ast), 0, 'utf8');
console.log(' + ' + __dirname + '/../socket.io.min.js');

console.log('All done!');
console.log('All done!');

5 comments on commit 1c9db6c

@3rd-Eden
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@rauchg
Copy link
Contributor Author

@rauchg rauchg commented on 1c9db6c May 30, 2011 via email

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@3rd-Eden
Copy link
Contributor

@3rd-Eden 3rd-Eden commented on 1c9db6c May 30, 2011 via email

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@rauchg
Copy link
Contributor Author

@rauchg rauchg commented on 1c9db6c May 30, 2011 via email

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@3rd-Eden
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hotelsnl@7a9c228

There ya go

Please sign in to comment.