From 9b55198aaea7b1971c9747f22705469c8e436e8c Mon Sep 17 00:00:00 2001 From: Jeff Escalante Date: Thu, 26 Dec 2013 01:06:19 -0500 Subject: [PATCH] remove gulp/prepublish, replace with simple makefile --- Gulpfile.js | 6 ------ Makefile | 12 ++++++++++++ package.json | 4 +--- 3 files changed, 13 insertions(+), 9 deletions(-) delete mode 100644 Gulpfile.js create mode 100644 Makefile diff --git a/Gulpfile.js b/Gulpfile.js deleted file mode 100644 index d8f0f9c..0000000 --- a/Gulpfile.js +++ /dev/null @@ -1,6 +0,0 @@ -var g = require('gulp'), - coffee = require('gulp-coffee'); - -g.task('build', function(){ - g.src('src/**/*.coffee').pipe(coffee()).pipe(g.dest('lib')) -}); diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..3a90bd8 --- /dev/null +++ b/Makefile @@ -0,0 +1,12 @@ +build: + mv lib src + coffee -o lib -c src + +unbuild: + rm -rf lib + mv src lib + +publish: + make build + npm publish . + make unbuild diff --git a/package.json b/package.json index eb6986d..83e9c2b 100644 --- a/package.json +++ b/package.json @@ -40,9 +40,7 @@ "shelljs": "0.2.x" }, "scripts": { - "test": "mocha", - "prepublish": "mv lib/ src; gulp build", - "postpublish": "rm -rf lib; mv src/ lib" + "test": "mocha" }, "engines": { "node": ">=0.10.0"