Skip to content

Commit

Permalink
Change build system from fez to gulp.
Browse files Browse the repository at this point in the history
  • Loading branch information
Havvy committed Jan 11, 2015
1 parent 85c5102 commit 8b066c0
Show file tree
Hide file tree
Showing 4 changed files with 26 additions and 21 deletions.
12 changes: 0 additions & 12 deletions fez.js

This file was deleted.

18 changes: 18 additions & 0 deletions gulpfile.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
var gulp = require('gulp');
var sweetjs = require("gulp-sweetjs");
var sourcemaps = require('gulp-sourcemaps');

gulp.task('default', function() {
console.log("Use either the 'build' or 'test' tasks");
});

gulp.task("build", function () {
gulp.src("test.sjs")
.pipe(sourcemaps.init())
.pipe(sweetjs({
modules: ['sweet-bdd'],
readableNames: true
}))
.pipe(sourcemaps.write('../sourcemaps/'))
.pipe(gulp.dest('.'))
});
7 changes: 4 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "after-events",
"version": "1.0.0",
"description": "Event Emitter with hooks for listener returnn values",
"description": "Event Emitter with hooks for listener return values",
"main": "after-events.js",
"scripts": {
"test": "mocha test.js"
Expand All @@ -25,8 +25,9 @@
"simplesets": "~1.2.0"
},
"devDependencies": {
"fez": "git://github.com/fez/fez",
"fez-sweet.js": "~0.6.0",
"gulp": "^3.8.8",
"gulp-sourcemaps": "^1.2.4",
"gulp-sweetjs": "^0.5.4",
"sweet-bdd": "~1.0.0",
"mocha": "~1.17.0",
"better-assert": "~1.0.0",
Expand Down
10 changes: 4 additions & 6 deletions test.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 8b066c0

Please sign in to comment.