Sha256: b8deeab4f6812bdbaba2e765b9d883abcc275401951c1624a8cf869628c452b2

Contents?: true

Size: 888 Bytes

Versions: 2

Compression:

Stored size: 888 Bytes

Contents

= 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 (c) 2010 Kevin W. Gisi. Released under the MIT License

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
my-0.3.1 README.rdoc
my-0.3.0 README.rdoc