Skip to content

Instantly share code, notes, and snippets.

@wooorm
Created April 7, 2013 13:42
Show Gist options
  • Save wooorm/5330546 to your computer and use it in GitHub Desktop.
Save wooorm/5330546 to your computer and use it in GitHub Desktop.
Sample grunt-siml `Gruntfile.coffee`.
# Sample grunt-siml Gruntfile.coffee file
# https://github.com/wooorm/grunt-siml
module.exports = ( grunt ) ->
pkg = grunt.file.readJSON 'package.json'
grunt.config.init
'pkg' : pkg
'siml' :
'compile' :
'options' :
'pretty' : true
'indent' : '\t'
'curly' : false
'parse' : 'html5'
'files' :
'_dist/index.html' : '_source/index.siml'
# Actually load this plugin's task(s).
grunt.loadNpmTasks 'grunt-siml'
grunt.registerTask 'default', [ 'siml' ]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment