Permalink
Browse files

Release 1.5.1.

  • Loading branch information...
1 parent 47a3632 commit 676b78f4f3536c6f21936357ab9bd2174818fe64 @paulmillr paulmillr committed Mar 19, 2013
Showing with 25 additions and 25 deletions.
  1. +14 −11 CHANGELOG.md
  2. +3 −9 package.json
  3. +8 −5 setup.js
View
@@ -1,38 +1,41 @@
-# sass-brunch 1.5.0 (January 13, 2012)
+# sass-brunch 1.5.1 (19 March 2013)
+* Added node 0.10 support, removed coffee-script dependency.
+
+# sass-brunch 1.5.0 (13 January 2013)
* Improved installation process.
-# sass-brunch 1.4.2 (November 26, 2012)
+# sass-brunch 1.4.2 (26 November 2012)
* The plugin will now output debug information unless config.minify
is enabled.
-# sass-brunch 1.4.1 (August 08, 2012)
+# sass-brunch 1.4.1 (8 August 2012)
* Fixed node.js 0.8 compatibility.
* Fixed compass bug.
-# sass-brunch 1.4.0 (July 15, 2012)
+# sass-brunch 1.4.0 (15 July 2012)
* Added support for absolute paths.
-# sass-brunch 1.3.1 (July 15, 2012)
+# sass-brunch 1.3.1 (15 July 2012)
* Error is now thrown if sass wasn't found on system.
* Fixed windows issues.
-# sass-brunch 1.3.0 (June 29, 2012)
+# sass-brunch 1.3.0 (29 June 2012)
* Added node.js 0.8 and 0.9 support.
* Package is now precompiled before every publishing to npm.
-# sass-brunch 1.1.3 (May 10, 2012)
+# sass-brunch 1.1.3 (10 May 2012)
* Added Compass support.
-# sass-brunch 1.1.2 (May 10, 2012)
+# sass-brunch 1.1.2 (10 May 2012)
* Changed stylus load path from `app/styles` to `config.paths.root`.
* Added support for chain compilation.
* Fixed an issue when sass was cropping long files.
-# sass-brunch 1.1.1 (April 15, 2012)
+# sass-brunch 1.1.1 (15 April 2012)
* Fixed error reporting when installing the package.
-# sass-brunch 1.1.0 (April 09, 2012)
+# sass-brunch 1.1.0 (9 April 2012)
* Added windows support.
-# sass-brunch 1.0.0 (March 12, 2012)
+# sass-brunch 1.0.0 (12 March 2012)
* Initial release
View
@@ -1,6 +1,6 @@
{
"name": "sass-brunch",
- "version": "1.5.0",
+ "version": "1.5.1",
"description": "Adds Sass support to brunch.",
"author": "Paul Miller (http://paulmillr.com/)",
"homepage": "https://github.com/brunch/sass-brunch",
@@ -12,15 +12,9 @@
"scripts": {
"prepublish": "node setup.js prepublish",
"postpublish": "node setup.js postpublish",
- "test": "node setup.js test",
- "postinstall": "node setup.js postinstall"
- },
- "engines": {
- "node": "~0.6.10 || 0.8 || 0.9"
- },
- "dependencies": {
- "coffee-script": "1.4.0"
+ "test": "node setup.js test"
},
+ "dependencies": {},
"devDependencies": {
"mocha": "1.8.1",
"chai": "1.4.2"
View
@@ -14,14 +14,18 @@ var getBinaryPath = function(binary) {
var execute = function(path, params, callback) {
if (callback == null) callback = function() {};
- var command = 'node ' + path + ' ' + params;
+ var command = path + ' ' + params;
console.log('Executing', command);
exec(command, function(error, stdout, stderr) {
if (error != null) return process.stderr.write(stderr.toString());
console.log(stdout.toString());
});
};
+var execNode = function(path, params, callback) {
+ execute('node ' + getBinaryPath(path), params, callback);
+};
+
var togglePostinstall = function(add) {
var pkg = require('./package.json');
@@ -39,7 +43,7 @@ switch (mode) {
// Remove `.postinstall` script to prevent stupid npm bugs.
case 'prepublish':
togglePostinstall(false);
- execute(getBinaryPath('coffee'), '-o lib/ src/');
+ execute('coffee', '-o lib/ src/');
break;
// Bring back `.postinstall` script.
@@ -51,14 +55,13 @@ switch (mode) {
case 'postinstall':
fsExists(sysPath.join(__dirname, 'lib'), function(exists) {
if (exists) return;
- execute(getBinaryPath('coffee'), '-o lib/ src/');
+ execute('coffee', '-o lib/ src/');
});
break;
// Run tests.
case 'test':
- execute(
- getBinaryPath('mocha'),
+ execNode('mocha',
'--compilers coffee:coffee-script --require test/common.js --colors'
);
break;

0 comments on commit 676b78f

Please sign in to comment.