Created
April 7, 2013 13:42
-
-
Save wooorm/5330546 to your computer and use it in GitHub Desktop.
Sample grunt-siml `Gruntfile.coffee`.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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