UNPKG

setup-cpp

Version:

Install all the tools required for building and testing C++/C projects.

20 lines (19 loc) 735 B
import { type ApkPackage } from "./qualify-install.js"; /** * The information about an installation result */ export type InstallationInfo = { /** The install dir of the package (Defaults to `undefined`) */ installDir?: string; /** The bin dir of the package (Defaults to `/usr/bin`) */ binDir: string; /** The bin path of the package (Defaults to `undefined`) */ bin?: string; }; /** * Install a package using Alpine's apk package manager * @param packages The packages to install * @param update Whether to update the package index before installing * @returns The installation information */ export declare function installApkPack(packages: ApkPackage[], update?: boolean): Promise<InstallationInfo>;