Skip to content
This repository has been archived by the owner on Oct 8, 2019. It is now read-only.

Commit

Permalink
refactor(DeCoffee): remove coffeescript from build task
Browse files Browse the repository at this point in the history
  • Loading branch information
jtormey committed Mar 2, 2016
1 parent dd4c825 commit 909a07b
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 23 deletions.
22 changes: 0 additions & 22 deletions Gruntfile.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -88,18 +88,6 @@ module.exports = (grunt) ->

dest: "dist/js/application.min.js"

coffee:
coffee_to_js:
options:
bare: true
sourceMap: false
expand: true
flatten: false
cwd: "assets/js"
src: ["*.js.coffee", "directives/**/*.js.coffee", "services/**/*.js.coffee"]
dest: 'build/js'
ext: ".js"

sass:
build:
files: [{
Expand Down Expand Up @@ -227,12 +215,6 @@ module.exports = (grunt) ->
options:
spawn: false

js:
files: ['assets/js/**/*.js.coffee']
tasks: ['compile']
options:
spawn: false

locales:
files: ['locales/*.json']
tasks: ['merge-json']
Expand Down Expand Up @@ -439,7 +421,6 @@ module.exports = (grunt) ->

grunt.loadNpmTasks "grunt-contrib-uglify"
grunt.loadNpmTasks('grunt-contrib-concat')
grunt.loadNpmTasks('grunt-contrib-coffee')
grunt.loadNpmTasks('grunt-contrib-copy')
grunt.loadNpmTasks('grunt-contrib-clean')
grunt.loadNpmTasks('grunt-contrib-sass')
Expand All @@ -457,11 +438,8 @@ module.exports = (grunt) ->
grunt.loadNpmTasks('grunt-karma-coveralls')
grunt.loadNpmTasks('grunt-text-replace')

grunt.registerTask "compile", ["coffee"]

grunt.registerTask "build", [
"html2js"
"compile"
"babel:build"
"sass"
"copy:js"
Expand Down
1 change: 0 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@
"grunt-cli": "^0.1.13",
"grunt-concat-css": "^0.3.1",
"grunt-contrib-clean": "^0.6.0",
"grunt-contrib-coffee": "^0.12.0",
"grunt-contrib-concat": "^0.5.0",
"grunt-contrib-copy": "^0.7.0",
"grunt-contrib-jade": "^0.14.1",
Expand Down

0 comments on commit 909a07b

Please sign in to comment.