Sha256: 0bb3f02d81827eea4d566788931447baa4c07bd0665b6abaccbdd37a3a2ee76a

Contents?: true

Size: 356 Bytes

Versions: 1

Compression:

Stored size: 356 Bytes

Contents

require 'construct'

def with_sample_projects(&block)
  Construct::within_construct do |c|	
    # given files	
    c.directory('src/A')
    c.directory('src/B')
    c.directory('src/C')
    c.file('src/A/A.csproj') do |f|
      f.puts "cs proj file ... xml in here"
    end
    
    c.file('src/C/HelloWorld.vbproj')
	block.call(c)
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
logirel-0.0.6 spec/with_sample_projects.rb