Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Make the project layout a bit more sensible.

  • Loading branch information...
commit 94195c4b8ec02dc4536951e902bdc028825ddc41 1 parent ac98f96
@jcoglan authored
View
2  .gitignore
@@ -1,3 +1,3 @@
bin/js.class.js
-build
+lib
node_modules
View
2  Jakefile
@@ -7,5 +7,5 @@ jake_helper :license do
end
jake_hook :build_complete do
- FileUtils.cp 'node_modules/jsclass/min/core.js', 'bin/js.class.js'
+ FileUtils.cp 'node_modules/jsclass/min/core.js', 'lib/js.class.js'
end
View
4 bin/compile → bin/canopy
@@ -1,7 +1,7 @@
#!/usr/bin/env node
-require('./js.class');
-require('./canopy-stable');
+require('../lib/js.class');
+require('../lib/canopy');
var fs = require('fs'),
sys = require('util');
View
3,444 bin/canopy-stable.js
0 additions, 3,444 deletions not shown
View
2  jake.yml
@@ -1,6 +1,6 @@
---
source_directory: source
-build_directory: build
+build_directory: lib
layout: together
builds:
View
4 package.json
@@ -6,8 +6,8 @@
, "version" : "0.2.0"
, "engines" : {"node": ">=0.4.0"}
-, "main" : "./bin/canopy-stable.js"
-, "bin" : {"canopy": "./bin/compile"}
+, "main" : "./lib/canopy.js"
+, "bin" : {"canopy": "./bin/canopy"}
, "devDependencies" : {"jsclass": ""}
, "scripts" : {"test": "node spec/console.js"}
View
2  spec/runner.js
@@ -1,7 +1,7 @@
if (typeof CWD === 'undefined') CWD = '.'
JS.Packages(function() { with(this) {
- file(CWD + '/build/canopy-min.js').provides('Canopy')
+ file(CWD + '/lib/canopy-min.js').provides('Canopy')
autoload(/^(.*)Spec$/, {from: CWD + '/spec', require: '$1'})
}})
Please sign in to comment.
Something went wrong with that request. Please try again.