Skip to content

Commit

Permalink
Add coffeescript sourcemaps
Browse files Browse the repository at this point in the history
  • Loading branch information
vbrajon committed Sep 8, 2014
1 parent 24ca423 commit 917b1cf
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 10 deletions.
5 changes: 3 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,10 @@
"gulp-angular-templatecache": "*",
"gulp-coffee": "*",
"gulp-concat": "*",
"gulp-webserver": "*",
"gulp-jade": "*",
"gulp-sass": "*"
"gulp-sass": "*",
"gulp-sourcemaps": "*",
"gulp-webserver": "*"
},
"devDependencies": {
"chai": "*",
Expand Down
13 changes: 13 additions & 0 deletions utils/build/tasks/app.coffee
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
gulp = require 'gulp'
coffee = require 'gulp-coffee'
concat = require 'gulp-concat'
sourcemaps = require 'gulp-sourcemaps'

gulp.task 'app', ->
gulp.src 'src/**/*.coffee'
.pipe sourcemaps.init()
.pipe coffee
bare: true
.pipe concat 'boilerplate-app.js'
.pipe sourcemaps.write()
.pipe gulp.dest 'www/js/'
8 changes: 0 additions & 8 deletions utils/build/tasks/app.yml

This file was deleted.

0 comments on commit 917b1cf

Please sign in to comment.