Browse files

- repackaging

  • Loading branch information...
1 parent 93e1394 commit 5436cdd00e5329c72f9aca9e4381a6db7c107834 @SamuraiJack committed Aug 26, 2011
Showing with 54 additions and 51 deletions.
  1. +0 −33 Components.JS
  2. +35 −0 components.json
  3. +4 −3 dist.ini
  4. +1 −0 node_modules/http-request-provider
  5. +1 −0 node_modules/joose
  6. +1 −0 node_modules/json2
  7. +1 −0 node_modules/kiokujs
  8. +1 −0 node_modules/test-run
  9. +9 −8 t/index.html
  10. +1 −7 t/index.js
View
33 Components.JS
@@ -1,33 +0,0 @@
-COMPONENTS = {
- // a comment
-
- "Core" : [
- "KiokuJS.Backend.CouchDB.Node",
- "KiokuJS.Backend.CouchDB"
- ],
-
-
- "Prereq" : [
- "jsan:Task.KiokuJS.Prereq",
- "jsan:Task.HTTP.Request.Provider.Auto"
- ],
-
-
- "PureWebPrereq" : [
- "jsan:Task.KiokuJS.PureWebPrereq",
- "jsan:Task.HTTP.Request.Provider.Web"
- ],
-
-
- "PureNodeJSPrereq" : [
- "jsan:Task.KiokuJS.PureNodeJSPrereq",
- "jsan:Task.HTTP.Request.Provider.NodeJS"
- ],
-
-
- "Test" : [
- "jsan:Task.KiokuJS.Test",
- "+Core"
- ]
-}
-
View
35 components.json
@@ -0,0 +1,35 @@
+{
+ 'Core' : [
+ 'KiokuJS.Backend.CouchDB.Node',
+ 'KiokuJS.Backend.CouchDB'
+ ],
+
+
+ 'Prereq' : [
+ 'node_modules/kiokujs/kiokujs-all.js',
+ 'node_modules/http-request-provider/http-request-provider-all.js'
+ ],
+
+
+ 'Test' : {
+ saveAs : 'kiokujs-backend-couchdb-test.js',
+
+ contains : [
+ 'node_modules/kiokujs/kiokujs-test.js',
+ 'node_modules/http-request-provider/http-request-provider-all.js',
+ '+Core'
+ ]
+ },
+
+
+ 'All' : {
+ saveAs : 'kiokujs-backend-couchdb-all.js',
+
+ contains : [
+ '+Prereq',
+ '+Core'
+ ]
+ }
+
+}
+
View
7 dist.ini
@@ -22,6 +22,7 @@ first_version = 0.0.1
; choose/generate files to include
[GatherDir]
+follow_symlinks = 1
[PruneCruft]
[License]
@@ -39,14 +40,14 @@ static_dir = static ; default
[JSAN::ReadmeFromMD] ; should be after docs generation
[JSAN::InstallInstructions] ; add INSTALL file, describing the installation process
-[JSAN::Bundle] ; after docs generation to avoid docs for bundles
+[NPM::Bundle] ; after docs generation to avoid docs for bundles
;=========================================================================
; `npm` configuration - package.json generation
-[JSAN::NPM]
-main = lib/Task/KiokuJS/Backend/CouchDB/Core
+[NPM::Package]
+main = kiokujs-backend-couchdb-all.js
dependency = joose >= 3.14.0
dependency = json2 >= 0.4.0
View
1 node_modules/http-request-provider
View
1 node_modules/joose
View
1 node_modules/json2
View
1 node_modules/kiokujs
View
1 node_modules/test-run
View
17 t/index.html
@@ -1,14 +1,15 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
- <head>
- <link rel="stylesheet" type="text/css" href="/jsan/Task/ExtJS/resources/css/ext-all.css">
- <link rel="stylesheet" type="text/css" href="/jsan/Test/Run/static/css/all.css">
+ <head>
+ <link rel="stylesheet" type="text/css" href="http://cdn.sencha.io/ext-4.0.2a/resources/css/ext-all.css">
+ <link rel="stylesheet" type="text/css" href="../node_modules/test-run/resources/css/test-run-all.css">
- <script type="text/javascript" src="/jsan/Task/Test/Run/WebBundle.js"></script>
+ <script type="text/javascript" src="http://cdn.sencha.io/ext-4.0.2a/bootstrap.js"></script>
+ <script type="text/javascript" src="../node_modules/test-run/test-run-all.js"></script>
<script type="text/javascript" src="index.js"></script>
- </head>
-
- <body>
- </body>
+ </head>
+
+ <body>
+ </body>
</html>
View
8 t/index.js
@@ -8,18 +8,12 @@ if (typeof process != 'undefined' && process.pid) {
Harness = Test.Run.Harness.Browser.ExtJS
-var INC = [ '../lib', '/jsan' ]
-
Harness.configure({
title : 'KiokuJS.Backend.CouchDB Test Suite',
preload : [
- 'Task.KiokuJS.Backend.CouchDB.Prereq',
- {
- text : "use.paths = " + Harness.prepareINC(INC)
- },
- 'Task.KiokuJS.Backend.CouchDB.Test'
+ '../kiokujs-backend-couchdb-test.js'
]
})

0 comments on commit 5436cdd

Please sign in to comment.