Permalink
Browse files

Updated binary to create correct bundles, fixed bug with ncore

  • Loading branch information...
1 parent 65990ad commit ab69e75a87a84eb4f23794a6baae38f2c7ac8882 @Raynos committed May 5, 2012
Showing with 27 additions and 26 deletions.
  1. +3 −0 Makefile
  2. +3 −2 bin/ncore
  3. +2 −2 package.json
  4. +14 −17 test/browser/build.js
  5. +5 −5 test/core.js
View
@@ -12,4 +12,7 @@ browser:
build-test:
./bin/ncore -o /test/browser/build.js ./test/modules/
+run-test:
+ /opt/google/chrome/google-chrome --enable-plugins ./test/browser.html
+
.PHONY: test build-test browser
View
@@ -82,13 +82,14 @@ function writeDependencies(depObject, fileName, callback) {
}
uri = "./" + path.relative(moduleUri, uri)
cache[name] = true
- code += "Core.use('" + name + "', require('" + uri + "')) \n"
+ code += "Core.add('" + name + "', require('" + uri + "')) \n"
})
}
function next() {
var bundle = browserify({
- debug: true
+ debug: true,
+ cache: false
})
code += "Core.dependencies = " + JSON.stringify(core.dependencies) + "\n"
View
@@ -5,9 +5,9 @@
"keywords": ["core", "architecture", "infrastructure"],
"author": "Raynos <raynos2@gmail.com>",
"repository": "git://github.com/Raynos/ncore.git",
- "main": "index",
+ "main": "lib/core",
"dependencies": {
- "pd": "0.8.0",
+ "pd": "0.8.1",
"after": "0.4.0",
"browserify": "1.10.12"
},
Oops, something went wrong.

0 comments on commit ab69e75

Please sign in to comment.