Sha256: 3e4ebc33bdb7ab2d6ec0e1bfc22e862995ae2a944a09cfdb961ec08be67d42a3

Contents?: true

Size: 1.35 KB

Versions: 3

Compression:

Stored size: 1.35 KB

Contents

root_folder = File.expand_path("#{File.dirname(__FILE__)}/..")
require "<%=folders[:buildscripts]%>/project_details"

# The folders array denoting where to place build artifacts

FOLDERS = {
  :root => root_folder,
  :src => "<%= folders[:src] %>",
  :build => "<%= folders[:build] %>",
  :binaries => "placeholder - environment.rb sets this depending on target",
  :tools => "<%= folders[:tools] %>",
  :tests => "<%= folders[:tests] %>",
  :nuget => "<%= folders[:nuget] %>",
  :nuspec => "<%= folders[:nuspec] %>"
}

FOLDERS.merge({
<% metas.each do |m| %>
  :<%=m[:ruby_key]%> => {
      :test_dir => '<%= m[:test_dir] %>',
      :nuspec => '#{FOLDERS[:nuspec]}/#{PROJECTS[<%= m[:ruby_key] %>][:nuget_key]}',
      :out => 'placeholder - environment.rb will sets this',
      :test_out => 'placeholder - environment.rb sets this'
  },
  <% end %>
})

FILES = {
  :sln => "<%= files[:sln] %>",
  <% metas.each do |m| %>
  :<%= m[:ruby_key] %> => {
    :nuspec => File.join(FOLDERS[:<%= m[:ruby_key] %>][:nuspec], "#{PROJECTS[:<%= m[:ruby_key] %>][:nuget_key]}.nuspec")
  },
  <% end %>
}

COMMANDS = {
  :nunit => File.join(FOLDERS[:nunit], "nunit-console.exe"),
  :nuget => File.join(FOLDERS[:tools], "NuGet.exe"),
  :ilmerge => File.join(FOLDERS[:tools], "ILMerge.exe")
}

URIS = {
  :nuget_offical => "http://packages.nuget.org/v1/"
}

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
logirel-0.1.3 lib/logirel/templates/paths.tt
logirel-0.1.2 lib/logirel/templates/paths.tt
logirel-0.1.1 lib/logirel/templates/paths.tt