Sha256: 3c146a0efc55c4e77f57cfd7a675fd02a097e89805caf3a1bddb60e8cc20a1be
Contents?: true
Size: 1.24 KB
Versions: 3
Compression:
Stored size: 1.24 KB
Contents
require 'albacore/assemblyinfo' class AssemblyInfoTester < AssemblyInfo attr_accessor :assemblyinfo_file def initialize(lang_engine = nil) @version = "0.0.0.1" @title = "some assembly title" @description = "some assembly description goes here." @copyright = "some copyright info goes here" @com_visible = false @com_guid = "dbabb27c-a536-4b5b-91f1-2226b6e3655c" @company_name = "some company name" @product_name = "my product, yo." @file_version = "1.0.0.0" @trademark = "some trademark info goes here" end def setup_assemblyinfo_file @lang_engine = CSharpEngine.new unless check_lang_engine @assemblyinfo_file = File.join(File.dirname(__FILE__), "AssemblyInfo", "AssemblyInfo.test") File.delete @assemblyinfo_file if File.exist? @assemblyinfo_file end def build_and_read_assemblyinfo_file(assemblyinfo) setup_assemblyinfo_file assemblyinfo.output_file = @assemblyinfo_file assemblyinfo.execute contents = '' File.open(@assemblyinfo_file, "r") do |f| contents = f.read end contents end def yaml_file return File.join(File.dirname(__FILE__), "AssemblyInfo", "assemblyinfo.yml") end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
albacore-0.2.3 | spec/support/assemblyinfotester.rb |
albacore-0.2.2 | spec/support/assemblyinfotester.rb |
albacore-0.2.0.preview2 | spec/support/assemblyinfotester.rb |