Skip to content

Instantly share code, notes, and snippets.

@wooorm
Created April 7, 2013 13:42
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • 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