Permalink
Browse files

Cleanup make.js changes based on review.

  • Loading branch information...
1 parent f32d0ed commit 1b260ebb7d2abb63f68d7c561ac61b1fbafec17f @humphd humphd committed Apr 16, 2012
Showing with 3 additions and 3 deletions.
  1. +3 −3 make.js
View
@@ -15,10 +15,10 @@ target.all = function() {
};
target.clean = function() {
- rm('-fr', 'dist');
+ rm('-fr', DIST_DIR);
};
-target['dist_dir'] = function() {
+target.dist = function() {
mkdir('-p', DIST_DIR);
};
@@ -46,7 +46,7 @@ target.build = function() {
echo('### Building butter');
target.clean();
- target['dist_dir']();
+ target.dist();
exec(RJS + ' -o tools/build.js');
exec(RJS + ' -o tools/build.optimized.js');

0 comments on commit 1b260eb

Please sign in to comment.