setup-cpp
Version:
Install all the tools required for building and testing C++/C projects.
19 lines (18 loc) • 682 B
TypeScript
import memoize from "memoizee";
export declare const defaultRcPath: string;
/**
* Options for adding an rc file
*/
export type RcOptions = {
/** The path to the RC file that the env variables should be added to. */
rcPath: string;
/** Provide a name (your tool) to add a variable guard for sourcing your rc file */
guard?: string;
};
declare function sourceRCInRc_(options: RcOptions): Promise<void>;
/**
* handles adding conditions to source rc file from .bashrc and .profile
*/
export declare const sourceRCInRc: typeof sourceRCInRc_ & memoize.Memoized<typeof sourceRCInRc_>;
export declare function finalizeRC(rcOptions: RcOptions): Promise<void>;
export {};