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
Afficher le fichier Open project: vigoo/bari

Méthodes publiques

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

Runs the command

Private Methods

Méthode 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 méthode

public PackCommand ( IProductPackagerFactory productPackagerFactory, [ targetRoot ) : System
productPackagerFactory IProductPackagerFactory
targetRoot [
Résultat System

Run() public méthode

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)
Résultat bool