Sha256: 73eb6e2ff33b452fe70eab4e821bbacdf40d86635210bb7771119b5abaee3cf2
Contents?: true
Size: 881 Bytes
Versions: 2
Compression:
Stored size: 881 Bytes
Contents
require 'capistrano' module Capistrano module Fakerecipe def self.load_into(configuration) configuration.load do before "fake:stuff_and_things", "fake:thing" after "fake:thing", "fake:other_thing" namespace :fake do desc "thing and run fake manifests" task :thing do set :bar, "baz" run('do some stuff') upload("foo", "/tmp/foo") get('/tmp/baz', 'baz') end desc "More fake tasks!" task :other_thing do # end desc "You get the picture..." task :stuff_and_things do # end end end end end end if Capistrano::Configuration.instance Capistrano::FakeRecipe.load_into(Capistrano::Configuration.instance) end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
capistrano-spec-0.3.3 | spec/recipe/fakerecipe.rb |
capistrano-spec-0.3.2 | spec/recipe/fakerecipe.rb |