Browse files

Remove JS.Class from the build.

  • Loading branch information...
1 parent de080ed commit 6500dfdc287d4bf410ed2580114c6ae0f0e3d21c @jcoglan committed Apr 28, 2012
Showing with 28 additions and 36 deletions.
  1. +1 −4 Jakefile
  2. +0 −27 LICENSE
  3. +24 −0 LICENSE.txt
  4. +3 −5 bin/canopy
View
5 Jakefile
@@ -1,11 +1,8 @@
jake_helper :license do
"/**\n" +
- File.read('LICENSE').strip.split(/\n/).map { |line|
+ File.read('LICENSE.txt').strip.split(/\n/).map { |line|
" * " + line
} * "\n" +
"\n **/"
end
-jake_hook :build_complete do
- FileUtils.cp 'node_modules/jsclass/min/core.js', 'lib/js.class.js'
-end
View
27 LICENSE
@@ -1,27 +0,0 @@
-Canopy -- a JavaScript parser compiler
-======================================
-
-http://github.com/jcoglan/canopy
-http://jcoglan.com
-
-Copyright (c) 2010 James Coglan
-
-Permission is hereby granted, free of charge, to any person obtaining
-a copy of this software and associated documentation files (the
-'Software'), to deal in the Software without restriction, including
-without limitation the rights to use, copy, modify, merge, publish,
-distribute, sublicense, and/or sell copies of the Software, and to
-permit persons to whom the Software is furnished to do so, subject to
-the following conditions:
-
-The above copyright notice and this permission notice shall be
-included in all copies or substantial portions of the Software.
-
-THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND,
-EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
-MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
-IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
-CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
-TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
-SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
-
View
24 LICENSE.txt
@@ -0,0 +1,24 @@
+Canopy -- a JavaScript parser compiler
+======================================
+
+http://github.com/jcoglan/canopy
+
+Copyright (c) 2010-2012 James Coglan
+
+Permission is hereby granted, free of charge, to any person obtaining a copy of
+this software and associated documentation files (the 'Software'), to deal in
+the Software without restriction, including without limitation the rights to use,
+copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the
+Software, and to permit persons to whom the Software is furnished to do so,
+subject to the following conditions:
+
+The above copyright notice and this permission notice shall be included in all
+copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
+FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
+COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
+IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
+CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
+
View
8 bin/canopy
@@ -1,10 +1,8 @@
#!/usr/bin/env node
-require('../lib/js.class');
-var Canopy = require('../lib/canopy');
-
-var fs = require('fs'),
- sys = require('util');
+var Canopy = require('../lib/canopy'),
+ fs = require('fs'),
+ sys = require('util');
var startTime = Number(new Date()),
inputFile = process.argv[2],

0 comments on commit 6500dfd

Please sign in to comment.