Skip to content

Commit

Permalink
Gruntfile in coffeescript
Browse files Browse the repository at this point in the history
  • Loading branch information
scips committed Jul 4, 2013
1 parent 4dc33f7 commit a467a19
Show file tree
Hide file tree
Showing 2 changed files with 37 additions and 51 deletions.
37 changes: 37 additions & 0 deletions Gruntfile.coffee
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
module.exports = (grunt) ->

# Project configuration.
grunt.initConfig

coffeelint:
# global options
options:
indentation:
value: 4
level: 'warn'

# a target that overrides default options
one:
files:
src: ['test/fixtures/*.coffee']
options:
indentation:
value: 2
level: 'warn'
'no_trailing_semicolons':
level: 'warn'

# a simple target
two: ['test/fixtures/correct.coffee', 'test/fixtures/some.coffee']

# Load local tasks.
grunt.loadTasks 'tasks'

grunt.loadNpmTasks 'grunt-npm'
grunt.loadNpmTasks 'grunt-bump'

# Default task.
grunt.registerTask 'default', 'coffeelint'

grunt.registerTask 'release', 'Bump version, push to NPM.', (type)->
grunt.task.run ["bump: #{type || 'patch'}",'npm-publish']
51 changes: 0 additions & 51 deletions Gruntfile.js

This file was deleted.

0 comments on commit a467a19

Please sign in to comment.