0.0
No commit activity in last 3 years
No release in over 3 years
slim-server provides drb server to compile slim template engine. It is useful when you are compiling slim locally (say, with shadow.vim.)
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Runtime

>= 1.2.2
 Project Readme

slim-server

slim-server for slim is like Spork for rspec. It provides drb server to compile slim templates quickly.

Why?

Recently I'm createting a PhongeGap app. But I don't want to write HTMLs by hand, so I chose shadow.vim to compile slim template to HTML automagically.

Then I found :save became annoying slow; that's why I wrote slim-server.

Install

$ gem i slim-server

Usage

$ slim-server start &
$ slim-server compile < foo.slim > foo.html

If you are using shadow.vim, your foo.html.shd should look like:

## slim-server compile
// vim: set ft=slim :

doctype html
html
  body
    h1 Hello

License

MIT

Contact

https://github.com/yhara/slim-server

Yutaka HARA (yhara)

twitter: @yhara_en