/command_line_haml

An example of using Haml without a web server.

Primary LanguageRubyBSD 2-Clause "Simplified" LicenseBSD-2-Clause

Description

This is an example of using Haml from the command line.

The generate.rb file has a decent number of comments that should help you understand what's going on. In addition, I wrote a blog post that provides some background and explanation.

Usage

To run this example, first do a bundle install to get the necessary gems. Then running ./generate.rb from the repository root will generate index.html and another_page.html as examples.

License

Simplified BSD License. See the LICENSE file for details.