Class: Bozo::Packagers::ResourcePackage

Inherits:
Object
  • Object
show all
Defined in:
lib/bozo/packagers/nuget.rb

Instance Method Summary collapse

Constructor Details

#initialize(project, base_directory) ⇒ ResourcePackage

Returns a new instance of ResourcePackage.



132
133
134
135
# File 'lib/bozo/packagers/nuget.rb', line 132

def initialize(project, base_directory)
  @name = project
  @base_directory = base_directory
end

Instance Method Details

#dependenciesObject



141
142
143
# File 'lib/bozo/packagers/nuget.rb', line 141

def dependencies
  []
end

#filesObject



145
146
147
# File 'lib/bozo/packagers/nuget.rb', line 145

def files
  [{:src => File.expand_path(File.join(@base_directory, '**', '*.*')).gsub(/\//, '\\')}]
end

#nameObject



137
138
139
# File 'lib/bozo/packagers/nuget.rb', line 137

def name
  @name
end