Class: IronHammer::Projects::DependencyProject

Inherits:
DllProject show all
Defined in:
lib/iron_hammer/projects/dependency_project.rb

Constant Summary

Constants included from DefaultBinariesBehavior

DefaultBinariesBehavior::BIN_PATTERN

Instance Attribute Summary

Attributes inherited from GenericProject

#csproj, #name, #path

Instance Method Summary collapse

Methods inherited from DllProject

#path_to_configuration

Methods included from DefaultDeliverablesBehavior

#deliverables

Methods included from DefaultConfigurationBehavior

#configuration

Methods included from DefaultBinariesBehavior

#binaries

Methods inherited from GenericProject

#artifacts, #assembly_info, #deliverables, #dependencies_with_projects, #package, #project_references, #version=

Constructor Details

#initialize(params) ⇒ DependencyProject

Returns a new instance of DependencyProject.



7
8
9
10
11
12
# File 'lib/iron_hammer/projects/dependency_project.rb', line 7

def initialize params
    super(params)
    @binaries_path = params[:binaries_path]
    @version = params[:version] || '1.0.0.0'
    @extension = params[:extension] || 'dll'
end

Instance Method Details

#assembly_nameObject



18
19
20
# File 'lib/iron_hammer/projects/dependency_project.rb', line 18

def assembly_name
  name
end

#binary_typesObject



22
23
24
# File 'lib/iron_hammer/projects/dependency_project.rb', line 22

def binary_types
  [@extension]
end

#dependenciesObject



14
15
16
# File 'lib/iron_hammer/projects/dependency_project.rb', line 14

def dependencies
  []
end

#path_to_binariesObject



30
31
32
# File 'lib/iron_hammer/projects/dependency_project.rb', line 30

def path_to_binaries
  @binaries_path
end

#versionObject



26
27
28
# File 'lib/iron_hammer/projects/dependency_project.rb', line 26

def version
  @version
end