Permalink
Browse files

Merge pull request #16 from node-migrator-bot/clean

Hi! I fixed some calls to "sys" for you!
  • Loading branch information...
2 parents 9e3c1b9 + 77c9585 commit da73802c69f94ffd513eb61df67432809c39a387 @harthur committed Jul 3, 2012
Showing with 4 additions and 4 deletions.
  1. +4 −4 Jakefile.js
View
@@ -6,17 +6,17 @@
*/
var fs = require("fs"),
path = require("path"),
- sys = require("sys")
+ util = require('util')
build = require("./build");
var pkg = JSON.parse(fs.readFileSync("package.json"));
var prefix = pkg.name + "-" + pkg.version;
task('build', [], function (dest) {
- sys.puts("building...");
+ util.puts("building...");
dest = dest || prefix + ".js";
build.build(dest);
- sys.puts("> " + dest);
+ util.puts("> " + dest);
});
task('minify', [], function (file, dest) {
@@ -25,7 +25,7 @@ task('minify', [], function (file, dest) {
var minified = minify(fs.readFileSync(file, "utf-8"));
fs.writeFileSync(dest, minified, "utf-8");
- sys.puts("> " + dest)
+ util.puts("> " + dest)
});
task('clean', [], function () {

0 comments on commit da73802

Please sign in to comment.