Class: ArchivePackage
- Defined in:
- lib/simple-make/package_type/archive_package.rb
Instance Method Summary collapse
-
#initialize(project) ⇒ ArchivePackage
constructor
A new instance of ArchivePackage.
- #package_file ⇒ Object
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_file ⇒ Object
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 |