0.0
No commit activity in last 3 years
No release in over 3 years
Creates an inlined html app using sprockets and tilt
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

~> 1.3
>= 0
>= 0

Runtime

~> 2.9.0
~> 1.0.0
~> 0.18.1
~> 1.3.6
 Project Readme

RubyHtmlApp

Creates an inlined html app using sprockets and tilt

Installation

Add this line to your application's Gemfile:

gem 'rubyhtmlapp'

And then execute:

$ bundle install

Or install it yourself as:

$ gem install rubyhtmlapp

Usage

To create a blank project run:

rubyhtmlapp create [project_name]

This will intitialize a git repository and setup a simple hello world example. To 'compile' the project run:

bundle exec ruby bin/[project_name] compile

This will inline all js files located in the lib/[project_name]/javascripts directory, all css files located in lib/[project_name]/stylesheets into the template application.html (using layout.html). The final result will be located in the dist/ directory.

Contributing

  1. Fork it
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create new Pull Request