ianwhite / inherit_views
- Source
- Commits
- Network (3)
- Issues (0)
- Downloads (0)
- Wiki (1)
- Graphs
-
Tree:
129264b
inherit_views / garlic_example.rb
| d0c5bd32 » | ianwhite | 2008-04-26 | 1 | # This is for running specs against target versions of rails | |
| ee52f895 » | ianwhite | 2008-04-26 | 2 | # | |
| 13d1690c » | ianwhite | 2008-04-28 | 3 | # To use do | |
| 4 | # - cp garlic_example.rb garlic.rb | ||||
| d0c5bd32 » | ianwhite | 2008-04-26 | 5 | # - rake get_garlic | |
| 6 | # - [optional] edit this file to point the repos at your local clones of | ||||
| 7 | # rails, rspec, and rspec-rails | ||||
| 8 | # - rake garlic:all | ||||
| ee52f895 » | ianwhite | 2008-04-26 | 9 | # | |
| 10 | # All of the work and dependencies will be created in the galric dir, and the | ||||
| 11 | # garlic dir can safely be deleted at any point | ||||
| 1e33142f » | ianwhite | 2008-04-25 | 12 | ||
| 13 | garlic do | ||||
| 14 | # default paths are 'garlic/work', and 'garlic/repos' | ||||
| ee52f895 » | ianwhite | 2008-04-26 | 15 | # work_path 'garlic/work' | |
| 16 | # repo_path 'garlic/repos' | ||||
| 17 | |||||
| 1e33142f » | ianwhite | 2008-04-25 | 18 | # repo, give a url, specify :local to use a local repo (faster | |
| 19 | # and will still update from the origin url) | ||||
| 976cffb2 » | ianwhite | 2008-04-26 | 20 | repo 'rails', :url => 'git://github.com/rails/rails' #, :local => "~/dev/vendor/rails" | |
| 234333a9 » | ianwhite | 2008-05-21 | 21 | # using own clone of rspec, until aliased-render-partial gets fixed. | |
| 22 | repo 'rspec', :url => 'git://github.com/ianwhite/rspec' | ||||
| 1e33142f » | ianwhite | 2008-04-25 | 23 | repo 'rspec-rails', :url => 'git://github.com/ianwhite/rspec-rails' | |
| f3d25c5a » | ian | 2008-04-26 | 24 | repo 'inherit_views', :path => '.' | |
| ee52f895 » | ianwhite | 2008-04-26 | 25 | ||
| 1e33142f » | ianwhite | 2008-04-25 | 26 | # for target, default repo is 'rails', default branch is 'master' | |
| 27 | target 'edge' | ||||
| 28 | target '2.0-stable', :branch => 'origin/2-0-stable' | ||||
| 129264b8 » | ianwhite | 2008-05-22 | 29 | target '2.0.3', :tag => 'v2.0.3' | |
| 30 | target '2.1.0-RC1', :tag => 'v2.1.0_RC1' | ||||
| ee52f895 » | ianwhite | 2008-04-26 | 31 | ||
| 1e33142f » | ianwhite | 2008-04-25 | 32 | all_targets do | |
| 33 | prepare do | ||||
| 234333a9 » | ianwhite | 2008-05-21 | 34 | plugin 'rspec', :branch => 'origin/aliased-render-partial' | |
| 1e33142f » | ianwhite | 2008-04-25 | 35 | plugin 'rspec-rails', :branch => 'origin/aliased-render-partial' do | |
| 36 | sh "script/generate rspec -f" | ||||
| 37 | end | ||||
| f3d25c5a » | ian | 2008-04-26 | 38 | plugin 'inherit_views', :clone => true # so we can work on it and push fixes upstream | |
| 1e33142f » | ianwhite | 2008-04-25 | 39 | end | |
| ee52f895 » | ianwhite | 2008-04-26 | 40 | ||
| 1e33142f » | ianwhite | 2008-04-25 | 41 | run do | |
| 42 | cd "vendor/plugins/inherit_views" do | ||||
| 43 | sh "rake spec:rcov:verify" | ||||
| 44 | end | ||||
| 45 | end | ||||
| 46 | end | ||||
| ee52f895 » | ianwhite | 2008-04-26 | 47 | end | |
