Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
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