Project

malvolio

0.0
No commit activity in last 3 years
No release in over 3 years
A command line tool for building HTML emails.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
2026
 Dependencies

Development

~> 1.17
>= 0
~> 10.0
~> 3.0

Runtime

 Project Readme

Malvolio

Malvolio is a CLI tool that creates an easy workflow when developing HTML emails.

Installation

In your terminal, install the gem from Rubygems.

gem install malvolio

Usage

To create a new project, run the command

malvolio new <project-name> [--inky]

the --inky option will create a project that allows you to use The Zurb Foundation's Inky Templating Language and comes bundled with their Foundation Email CSS Framework.

The new command will generate a new project with the following structure:

/project-name
  ├──tmp/
  ├──dist/
  └──src/
      ├──index.html
      └──scss/
          └──index.scss

Once you've done some work in the src/ directory and are ready to build, you can run

malvolio build [PROJECT PATH] [--no-warnings]

Or, if you would like for your project to build automatically as you go, you can run

malvolio watch [PROJECT PATH] [--no-warnings]

Running either of these commands will output your final HTML email file to dist/index.html.

Development

After checking out the repo, run bin/setup to install dependencies. Then, run rspec to run the tests. You can also run bin/console for an interactive prompt that will allow you to experiment.

To install this gem onto your local machine, run bundle exec rake install. To release a new version, update the version number in version.rb, and then run bundle exec rake release, which will create a git tag for the version, push git commits and tags, and push the .gem file to rubygems.org.

Contributing

Bug reports and pull requests are welcome on GitHub at https://github.com/jereinhardt/malvolio.

License

The gem is available as open source under the terms of the MIT License.