Logo: Relish

  1. Sign in

Project: Vendorificator

bare 'vendor' clause

Scenarios
Scenario
Given
a repository with following Vendorfile:
vendor 'generated', :version => '0.23' do |v|
  File.open('README', 'w') { |f| f.puts "Hello, World!" }
  File.open('VERSION', 'w') { |f| f.puts v.version }
end
When
I run "vendorify"
Then
the following has been conjured:
Name generated
Version 0.23
With file README
And
file "vendor/generated/VERSION" reads "0.23"

Last published over 5 years ago by mpasternacki.