thedesk/app/node_modules/app-builder-lib/out/targets/targetFactory.d.ts
2019-09-12 23:38:13 +09:00

13 lines
777 B
TypeScript

import { Arch } from "builder-util";
import { Platform, Target } from "..";
import { PlatformPackager } from "../platformPackager";
export declare function computeArchToTargetNamesMap(raw: Map<Arch, Array<string>>, platformPackager: PlatformPackager<any>, platform: Platform): Map<Arch, Array<string>>;
export declare function createTargets(nameToTarget: Map<string, Target>, rawList: Array<string>, outDir: string, packager: PlatformPackager<any>): Array<Target>;
export declare function createCommonTarget(target: string, outDir: string, packager: PlatformPackager<any>): Target;
export declare class NoOpTarget extends Target {
readonly options: null;
constructor(name: string);
readonly outDir: string;
build(appOutDir: string, arch: Arch): Promise<any>;
}