Skip to content
This repository has been archived by the owner on Sep 8, 2020. It is now read-only.

andrewrjones/grunt-haml

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

NOTE This has now been superseded by https://github.com/concordusapps/grunt-haml. Please use that instead.


grunt-haml

Grunt plugin for compiling haml files

Important Note

We use haml-js to produce your HTML and therefore have the same limitations.

haml-js does not conform to the same spec as haml, so you may find you need to make a whole lot of changes to your Haml.

If a more Haml-compliant node module comes available we will gladly switch to it.

Getting Started

Install this grunt plugin next to your project's grunt.js gruntfile with: npm install grunt-haml

Then add this line to your project's grunt.js gruntfile:

task.loadNpmTasks('grunt-haml');

Documentation

Add something like the following to your grunt.js gruntfile:

haml: {
  index: {
    src: "src/index.haml",
    dest: "dist/index.htm"
  }
},

Contributing

In lieu of a formal styleguide, take care to maintain the existing coding style. Add unit tests for any new or changed functionality. Lint and test your code using grunt.

License

Copyright (c) 2012 Andrew Jones
Licensed under the MIT license.

About

Grunt plugin for compiling haml files

Resources

License

Stars

Watchers

Forks

Packages

No packages published