My
My is a configuration and template manager written in Ruby, designed to provide a DSL for managing file and folder dependencies.
Installation and Usage
In order to use My, simply install the gem:
gem install my
Then to run a My script, just run:
my [FILE|URL]
My Scripts
My uses a Ruby script syntax to specify actions, like in the following example script:
# Sinatra My Script
file "app.rb" => "http://pastie.org/944315.txt"
file "config.ru" => "http://pastie.org/994640.txt"
ask "Will you be using external views?"
yes do
folder "views"
file "views/index.html" => "http://pastie.org/944311.txt"
end
ask "Will you be using an external stylesheet?"
yes do
folder "views"
file "views/style.sass" => "http://pastie.org/944313.txt"
end
Copyright
Copyright © 2010 Kevin W. Gisi. Released under the MIT License