Sha256: 467e44dc3d635888694426ffcf3cc26392344eec35b5f7d8faf6906e32748a0d
Contents?: true
Size: 1.23 KB
Versions: 7
Compression:
Stored size: 1.23 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.write 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
7 entries across 7 versions & 1 rubygems