Class: ExecutablePackage
- Defined in:
- lib/simple-make/package_type/executable_package.rb
Instance Method Summary collapse
-
#initialize(project) ⇒ ExecutablePackage
constructor
A new instance of ExecutablePackage.
- #package_file ⇒ Object
Methods inherited from Package
#dep_projects_output_names, #pack_dep_project_commands, #pack_deps_command
Constructor Details
#initialize(project) ⇒ ExecutablePackage
Returns a new instance of ExecutablePackage.
4 5 6 |
# File 'lib/simple-make/package_type/executable_package.rb', line 4 def initialize project super(project, "executable") end |
Instance Method Details
#package_file ⇒ Object
8 9 10 |
# File 'lib/simple-make/package_type/executable_package.rb', line 8 def package_file "#{@project.output_path}/#{@project.name}" end |