Forum: Rails France rg integre rails.

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
Jean-François Trân (Guest)
on 2008-12-03 01:46
(Received via mailing list)
rg
http://github.com/jeremymcanally/rg/tree/master

commit
http://github.com/rails/rails/commit/e8cc4b116c460...

appli rails personnalisée avec comme fichier de configuration un DSL
sympa :
très bonne idée !

template :thing, "Describe it here" do
  # Install some plugins
  plugin("thing", :git => "git://www.github.com/dudette/thing.git")

  # Vendor some gems
  gem("name")
  gem("name", :git => "git://github.com/dude/name.git")

  lib("path/to/file.rb") do
    put_some_code(:here)
  end

  task :thing do
    # blah
  end

  rakefile "file.rake" do
    desc "blah"
    task :hoohah do
      puts "hi"
    end
  end

  generate("migration", "add_field_to_table thing:string")
end

   -- Jean-François.

--
Prochain Apéro Ruby le 11 décembre

http://twitter.com/underflow_
This topic is locked and can not be replied to.