Sha256: ffca2b67fe87f7d59d633db63f5f8e2b6b8f0610a276d906c794a2af9796c9df
Contents?: true
Size: 881 Bytes
Versions: 1
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
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
capistrano-spec-0.3.1 | spec/recipe/fakerecipe.rb |