C# Class Bari.Core.Commands.Pack.PackCommand

Implements the `pack` command which creates a single package from the build output of a Product
Inheritance: ICommand
Datei anzeigen Open project: vigoo/bari

Public Methods

Method Description
PackCommand ( IProductPackagerFactory productPackagerFactory, [ targetRoot ) : System
Run ( Suite suite, string parameters ) : bool

Runs the command

Private Methods

Method Description
CollectOutput ( IFileSystemDirectory productRoot, string productName, IFileSystemDirectory dir, HashSet result ) : void
GetProductOutputs ( Product product ) : ISet
PackProduct ( Suite suite, string productName ) : void

Method Details

PackCommand() public method

public PackCommand ( IProductPackagerFactory productPackagerFactory, [ targetRoot ) : System
productPackagerFactory IProductPackagerFactory
targetRoot [
return System

Run() public method

Runs the command
public Run ( Suite suite, string parameters ) : bool
suite Suite The current suite model the command is applied to
parameters string Parameters given to the command (in unprocessed form)
return bool