@atomist/atomist-sdm
Version:
Atomist SDM to deliver our own projects
16 lines (15 loc) • 634 B
TypeScript
import { ExecuteGoal, PushTest, SoftwareDeliveryMachine } from "@atomist/sdm";
import { ProjectIdentifier } from "@atomist/sdm-core";
export declare const HasHomebrewFormula: PushTest;
/**
* Compute SHA256 hash of file contents.
*
* @param file path to file
* @return hex SHA256 of file contents
*/
export declare function fileSha256(file: string): Promise<string>;
/**
* Create the Homebrew formula and commit it to the tap.
*/
export declare function executeReleaseHomebrew(projectIdentifier: ProjectIdentifier): ExecuteGoal;
export declare function addHomebrewSupport(sdm: SoftwareDeliveryMachine): SoftwareDeliveryMachine;