Class: IronHammer::Projects::DependencyProject
Constant Summary
DefaultBinariesBehavior::BIN_PATTERN
Instance Attribute Summary
#csproj, #name, #path
Instance Method Summary
collapse
Methods inherited from DllProject
#path_to_configuration
#deliverables
#configuration
#binaries
#artifacts, #assembly_info, #deliverables, #dependencies_with_projects, #package, #project_references, #version=
Constructor Details
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_name ⇒ Object
18
19
20
|
# File 'lib/iron_hammer/projects/dependency_project.rb', line 18
def assembly_name
name
end
|
#binary_types ⇒ Object
22
23
24
|
# File 'lib/iron_hammer/projects/dependency_project.rb', line 22
def binary_types
[@extension]
end
|
#dependencies ⇒ Object
14
15
16
|
# File 'lib/iron_hammer/projects/dependency_project.rb', line 14
def dependencies
[]
end
|
#path_to_binaries ⇒ Object
30
31
32
|
# File 'lib/iron_hammer/projects/dependency_project.rb', line 30
def path_to_binaries
@binaries_path
end
|
#version ⇒ Object
26
27
28
|
# File 'lib/iron_hammer/projects/dependency_project.rb', line 26
def version
@version
end
|