Permalink
Browse files

- simple bundles with NPM::Bundle

  • Loading branch information...
SamuraiJack committed Aug 18, 2011
1 parent 470b89d commit e84db97d20a26f43de71045ee881b1c6dc818750
Showing with 69 additions and 54 deletions.
  1. +0 −51 Components.JS
  2. +66 −0 components.json
  3. +1 −1 dist.ini
  4. +1 −1 t/090_sanity_checks.t.js
  5. +1 −1 t/index.js
View
@@ -1,51 +0,0 @@
-COMPONENTS = {
-
- "Core" : [
- "Joose",
- "Joose.Proto.Empty",
- "Joose.Proto.Object",
- "Joose.Proto.Class",
-
- "Joose.Managed.Property",
- "Joose.Managed.Property.ConflictMarker",
- "Joose.Managed.Property.Requirement",
- "Joose.Managed.Property.Attribute",
- "Joose.Managed.Property.MethodModifier",
- "Joose.Managed.Property.MethodModifier.Override",
- "Joose.Managed.Property.MethodModifier.Put",
- "Joose.Managed.Property.MethodModifier.After",
- "Joose.Managed.Property.MethodModifier.Before",
- "Joose.Managed.Property.MethodModifier.Around",
- "Joose.Managed.Property.MethodModifier.Augment",
-
- "Joose.Managed.PropertySet",
- "Joose.Managed.PropertySet.Mutable",
-
- "Joose.Managed.StemElement.Attributes",
- "Joose.Managed.StemElement.Methods",
- "Joose.Managed.StemElement.Requirements",
- "Joose.Managed.StemElement.MethodModifiers",
-
- "Joose.Managed.PropertySet.Composition",
- "Joose.Managed.Stem",
- "Joose.Managed.Builder",
- "Joose.Managed.Class",
- "Joose.Managed.Role",
-
- "Joose.Managed.Attribute",
-
- "Joose.Managed.Attribute.Builder",
- "Joose.Managed.My",
- "Joose.Namespace.Able",
-
- "Joose.Managed.Bootstrap",
-
- "Joose.Meta.Object",
- "Joose.Meta.Class",
- "Joose.Meta.Role",
-
- "Joose.Namespace.Keeper",
- "Joose.Namespace.Manager"
- ]
-
-}
View
@@ -0,0 +1,66 @@
+COMPONENTS = {
+
+ All : {
+
+ saveAs : 'joose-all.js',
+
+ contains : [
+ "Joose",
+ "Joose.Proto.Empty",
+ "Joose.Proto.Object",
+ "Joose.Proto.Class",
+
+ "Joose.Managed.Property",
+ "Joose.Managed.Property.ConflictMarker",
+ "Joose.Managed.Property.Requirement",
+ "Joose.Managed.Property.Attribute",
+ "Joose.Managed.Property.MethodModifier",
+ "Joose.Managed.Property.MethodModifier.Override",
+ "Joose.Managed.Property.MethodModifier.Put",
+ "Joose.Managed.Property.MethodModifier.After",
+ "Joose.Managed.Property.MethodModifier.Before",
+ "Joose.Managed.Property.MethodModifier.Around",
+ "Joose.Managed.Property.MethodModifier.Augment",
+
+ "Joose.Managed.PropertySet",
+ "Joose.Managed.PropertySet.Mutable",
+
+ "Joose.Managed.StemElement.Attributes",
+ "Joose.Managed.StemElement.Methods",
+ "Joose.Managed.StemElement.Requirements",
+ "Joose.Managed.StemElement.MethodModifiers",
+
+ "Joose.Managed.PropertySet.Composition",
+ "Joose.Managed.Stem",
+ "Joose.Managed.Builder",
+ "Joose.Managed.Class",
+ "Joose.Managed.Role",
+
+ "Joose.Managed.Attribute",
+
+ "Joose.Managed.Attribute.Builder",
+ "Joose.Managed.My",
+ "Joose.Namespace.Able",
+
+ "Joose.Managed.Bootstrap",
+
+ "Joose.Meta.Object",
+ "Joose.Meta.Class",
+ "Joose.Meta.Role",
+
+ "Joose.Namespace.Keeper",
+ "Joose.Namespace.Manager"
+ ]
+ },
+
+ "All-Min" : {
+
+ saveAs : 'joose-all-min.js',
+
+ minify : 'yui',
+
+ contains : [
+ '+All'
+ ]
+ }
+}
View
@@ -32,7 +32,7 @@ docs_markup = mmd ; default
[JSAN::ReadmeFromMD] ; should be after docs generation
update_sources = 0
-[JSAN::Bundle] ; after docs generation to avoid docs for bundles
+[NPM::Bundle] ; after docs generation to avoid docs for bundles
roots_only_for_release = 0
[JSAN::NPM]
View
@@ -32,4 +32,4 @@ StartTest(function (t) {
t.expectGlobals('TestClass1', 'TestClass2')
t.done()
-})
+})
View
@@ -22,7 +22,7 @@ Harness.configure({
],
preload : [
- '../lib/Task/Joose/Core.js'
+ '../joose-all.js'
]
})

0 comments on commit e84db97

Please sign in to comment.