Skip to content
Browse files

Merge branch 'develop'

  • Loading branch information...
2 parents d795b66 + 56f758b commit 356a07ac0bef8ab56184063203d98284b03df040 Tristan Blease committed Mar 19, 2012
Showing with 18 additions and 10 deletions.
  1. +15 −7 lib/cobuild.coffee
  2. +2 −2 package.json
  3. +1 −1 readme.md
View
22 lib/cobuild.coffee
@@ -25,8 +25,18 @@ module.exports = class Cobuild
@renderers = {}
@files_rendered = []
+
+ # -------------------------------------------
+ # Status messages used in the results we're returning back
+
+ @OK = 'File built successfully'
+ @COPY = 'File copied'
+ @SKIP = 'File skipped'
+ @ERR = 'Error building file'
+
# -------------------------------------------
# Middleware for connect
+
@middleware = require './middleware'
@clean_up_config()
@@ -403,13 +413,11 @@ module.exports = class Cobuild
# -------------------------------------------
# Middleware for connect
-module.exports.middleware = require './middleware'
+module.exports.middleware = require './middleware'
-# -------------------------------------------
-# Status messages used in the results we're returning back
-module.exports.BUILT = Cobuild.OK = 'File built successfully'
-module.exports.COPIED = Cobuild.COPY = 'File copied'
-module.exports.SKIPPED = Cobuild.SKIP = 'File skipped'
-module.exports.ERROR = Cobuild.ERR = 'Error building file'
+module.exports.OK = 'File built successfully'
+module.exports.COPY = 'File copied'
+module.exports.SKIP = 'File skipped'
+module.exports.ERR = 'Error building file'
View
4 package.json
@@ -1,8 +1,8 @@
{
"author": "Tristan Blease <tristan@bleaseinteractive.com> (http://tristanblease.com/)",
"name": "cobuild",
- "description": "NodeJS build system with coffee-script, stylus, etc",
- "version": "0.1.1",
+ "description": "Cobuild isn't a build system, but it is a system that helps you build build systems faster.",
+ "version": "0.1.2",
"homepage": "http://github.com/thetristan/cobuild",
"repository": {
"type": "git",
View
2 readme.md
@@ -14,7 +14,7 @@
<h3 id="intro">Introduction</h3>
-Cobuild isn't a build system, but it is a system that helps you build build systems faster. This asynchronous module allows you to pass one or more files through it to transform text-based content by sending it through one or more renderers based on their filetype.
+Cobuild isn't a build system, but it is a system that helps you build build systems faster. This (mostly) asynchronous module allows you to pass one or more files through it to transform text-based content by sending it through one or more renderers based on their filetype.
You can quickly process your CSS, compress your JS, run your HTML through a template parser, or process any other text document... all through a single interface.

0 comments on commit 356a07a

Please sign in to comment.
Something went wrong with that request. Please try again.