Permalink
Browse files

Removed bloat from repo, use uglify as dependency, and updated packag…

…e.json

And removed old builder
  • Loading branch information...
1 parent 56ddb4e commit 3afe88904c197e418516a8b06321fb958c64d40e @3rd-Eden 3rd-Eden committed Jul 1, 2011
Showing with 0 additions and 5,153 deletions.
  1. +0 −59 bin/build
  2. +0 −4 lib/vendor/uglifyjs/.gitignore
  3. +0 −782 lib/vendor/uglifyjs/README.html
  4. +0 −408 lib/vendor/uglifyjs/README.org
  5. +0 −212 lib/vendor/uglifyjs/bin/uglifyjs
  6. +0 −75 lib/vendor/uglifyjs/docstyle.css
  7. +0 −2 lib/vendor/uglifyjs/index.js
  8. +0 −1,320 lib/vendor/uglifyjs/lib/parse-js.js
  9. +0 −1,609 lib/vendor/uglifyjs/lib/process.js
  10. +0 −22 lib/vendor/uglifyjs/lib/squeeze-more.js
  11. +0 −6 lib/vendor/uglifyjs/package.json
  12. +0 −28 lib/vendor/uglifyjs/test/beautify.js
  13. +0 −402 lib/vendor/uglifyjs/test/testparser.js
  14. +0 −1 lib/vendor/uglifyjs/test/unit/compress/expected/array1.js
  15. +0 −1 lib/vendor/uglifyjs/test/unit/compress/expected/array2.js
  16. +0 −1 lib/vendor/uglifyjs/test/unit/compress/expected/array3.js
  17. +0 −1 lib/vendor/uglifyjs/test/unit/compress/expected/array4.js
  18. +0 −1 lib/vendor/uglifyjs/test/unit/compress/expected/assignment.js
  19. +0 −1 lib/vendor/uglifyjs/test/unit/compress/expected/concatstring.js
  20. +0 −1 lib/vendor/uglifyjs/test/unit/compress/expected/const.js
  21. +0 −1 lib/vendor/uglifyjs/test/unit/compress/expected/empty-blocks.js
  22. +0 −1 lib/vendor/uglifyjs/test/unit/compress/expected/forstatement.js
  23. +0 −1 lib/vendor/uglifyjs/test/unit/compress/expected/if.js
  24. +0 −1 lib/vendor/uglifyjs/test/unit/compress/expected/ifreturn.js
  25. +0 −1 lib/vendor/uglifyjs/test/unit/compress/expected/issue10.js
  26. +0 −1 lib/vendor/uglifyjs/test/unit/compress/expected/issue11.js
  27. +0 −1 lib/vendor/uglifyjs/test/unit/compress/expected/issue13.js
  28. +0 −1 lib/vendor/uglifyjs/test/unit/compress/expected/issue14.js
  29. +0 −1 lib/vendor/uglifyjs/test/unit/compress/expected/issue16.js
  30. +0 −1 lib/vendor/uglifyjs/test/unit/compress/expected/issue17.js
  31. +0 −1 lib/vendor/uglifyjs/test/unit/compress/expected/issue20.js
  32. +0 −1 lib/vendor/uglifyjs/test/unit/compress/expected/issue21.js
  33. +0 −1 lib/vendor/uglifyjs/test/unit/compress/expected/issue25.js
  34. +0 −1 lib/vendor/uglifyjs/test/unit/compress/expected/issue27.js
  35. +0 −1 lib/vendor/uglifyjs/test/unit/compress/expected/issue28.js
  36. +0 −1 lib/vendor/uglifyjs/test/unit/compress/expected/issue29.js
  37. +0 −1 lib/vendor/uglifyjs/test/unit/compress/expected/issue30.js
  38. +0 −1 lib/vendor/uglifyjs/test/unit/compress/expected/issue34.js
  39. +0 −1 lib/vendor/uglifyjs/test/unit/compress/expected/issue4.js
  40. +0 −1 lib/vendor/uglifyjs/test/unit/compress/expected/issue48.js
  41. +0 −1 lib/vendor/uglifyjs/test/unit/compress/expected/issue50.js
  42. +0 −1 lib/vendor/uglifyjs/test/unit/compress/expected/issue53.js
  43. +0 −1 lib/vendor/uglifyjs/test/unit/compress/expected/issue54.1.js
  44. +0 −1 lib/vendor/uglifyjs/test/unit/compress/expected/issue68.js
  45. +0 −1 lib/vendor/uglifyjs/test/unit/compress/expected/issue69.js
  46. +0 −1 lib/vendor/uglifyjs/test/unit/compress/expected/issue9.js
  47. +0 −1 lib/vendor/uglifyjs/test/unit/compress/expected/strict-equals.js
  48. +0 −1 lib/vendor/uglifyjs/test/unit/compress/expected/var.js
  49. +0 −3 lib/vendor/uglifyjs/test/unit/compress/test/array1.js
  50. +0 −4 lib/vendor/uglifyjs/test/unit/compress/test/array2.js
  51. +0 −4 lib/vendor/uglifyjs/test/unit/compress/test/array3.js
  52. +0 −6 lib/vendor/uglifyjs/test/unit/compress/test/array4.js
  53. +0 −20 lib/vendor/uglifyjs/test/unit/compress/test/assignment.js
  54. +0 −3 lib/vendor/uglifyjs/test/unit/compress/test/concatstring.js
  55. +0 −5 lib/vendor/uglifyjs/test/unit/compress/test/const.js
  56. +0 −4 lib/vendor/uglifyjs/test/unit/compress/test/empty-blocks.js
  57. +0 −10 lib/vendor/uglifyjs/test/unit/compress/test/forstatement.js
  58. +0 −6 lib/vendor/uglifyjs/test/unit/compress/test/if.js
  59. +0 −9 lib/vendor/uglifyjs/test/unit/compress/test/ifreturn.js
  60. +0 −1 lib/vendor/uglifyjs/test/unit/compress/test/issue10.js
  61. +0 −3 lib/vendor/uglifyjs/test/unit/compress/test/issue11.js
  62. +0 −1 lib/vendor/uglifyjs/test/unit/compress/test/issue13.js
  63. +0 −1 lib/vendor/uglifyjs/test/unit/compress/test/issue14.js
  64. +0 −1 lib/vendor/uglifyjs/test/unit/compress/test/issue16.js
  65. +0 −4 lib/vendor/uglifyjs/test/unit/compress/test/issue17.js
  66. +0 −1 lib/vendor/uglifyjs/test/unit/compress/test/issue20.js
  67. +0 −6 lib/vendor/uglifyjs/test/unit/compress/test/issue21.js
  68. +0 −7 lib/vendor/uglifyjs/test/unit/compress/test/issue25.js
  69. +0 −1 lib/vendor/uglifyjs/test/unit/compress/test/issue27.js
  70. +0 −3 lib/vendor/uglifyjs/test/unit/compress/test/issue28.js
  71. +0 −1 lib/vendor/uglifyjs/test/unit/compress/test/issue29.js
  72. +0 −3 lib/vendor/uglifyjs/test/unit/compress/test/issue30.js
  73. +0 −3 lib/vendor/uglifyjs/test/unit/compress/test/issue34.js
  74. +0 −3 lib/vendor/uglifyjs/test/unit/compress/test/issue4.js
  75. +0 −1 lib/vendor/uglifyjs/test/unit/compress/test/issue48.js
  76. +0 −9 lib/vendor/uglifyjs/test/unit/compress/test/issue50.js
  77. +0 −1 lib/vendor/uglifyjs/test/unit/compress/test/issue53.js
  78. +0 −3 lib/vendor/uglifyjs/test/unit/compress/test/issue54.1.js
  79. +0 −5 lib/vendor/uglifyjs/test/unit/compress/test/issue68.js
  80. +0 −1 lib/vendor/uglifyjs/test/unit/compress/test/issue69.js
  81. +0 −4 lib/vendor/uglifyjs/test/unit/compress/test/issue9.js
  82. +0 −3 lib/vendor/uglifyjs/test/unit/compress/test/strict-equals.js
  83. +0 −3 lib/vendor/uglifyjs/test/unit/compress/test/var.js
  84. +0 −46 lib/vendor/uglifyjs/test/unit/scripts.js
View
@@ -1,59 +0,0 @@
-#!/usr/bin/env node
-
-/**
- * Socket.IO client
- *
- * @author Guillermo Rauch <guillermo@learnboost.com>
- * @license The MIT license.
- * @copyright Copyright (c) 2010 LearnBoost <dev@learnboost.com>
- */
-
-/*
- * This file will help you take all the Socket.IO client files and build socket.io.js.
- * You can later use Google Closure Compiler on it.
- */
-
-var fs = require('fs'),
- 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/xhr-polling.js',
- 'transports/jsonp-polling.js',
- 'transports/websocket.js',
- 'transports/htmlfile.js',
- 'namespace.js',
- 'socket.js'
- ],
- 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…');
-
-files.forEach(function(file){
- var path = __dirname + '/../lib/' + file;
- console.log(' + ' + path);
- content += fs.readFileSync(path) + "\n";
-});
-
-console.log('Generating…');
-
-fs.write(fs.openSync(__dirname + '/../dist/socket.io.js', 'w'), content, 0, 'utf8');
-console.log(' + ' + __dirname + '/../dist/socket.io.js');
-
-console.log('Uglyfying…');
-ast = jsp.parse(content);
-ast = pro.ast_mangle(ast); // get a new AST with mangled names
-ast = pro.ast_squeeze(ast);
-fs.write(fs.openSync(__dirname + '/../dist/socket.io.min.js', 'w'), license + pro.gen_code(ast), 0, 'utf8');
-console.log(' + ' + __dirname + '/../dist/socket.io.min.js');
-
-console.log('All done!');
@@ -1,4 +0,0 @@
-.DS_Store
-.tmp*~
-*.local.*
-.pinf-*
Oops, something went wrong.

0 comments on commit 3afe889

Please sign in to comment.