Class: ArchivePackage

Inherits:
Package show all
Defined in:
lib/simple-make/package_type/archive_package.rb

Instance Method Summary collapse

Methods inherited from Package

#dep_projects_output_names, #pack_dep_project_commands, #pack_deps_command

Constructor Details

#initialize(project) ⇒ ArchivePackage

Returns a new instance of ArchivePackage.



4
5
6
# File 'lib/simple-make/package_type/archive_package.rb', line 4

def initialize project
  super(project, "archive")
end

Instance Method Details

#package_fileObject



8
9
10
# File 'lib/simple-make/package_type/archive_package.rb', line 8

def package_file
  "#{@project.output_path}/lib#{@project.name}.a"
end