aboutsummaryrefslogtreecommitdiff
path: root/node_modules/nexe/lib/target.d.ts
blob: 6e94a2935fda2e0abb78a1642afd312dff3ecf34 (plain)
1
2
3
4
5
6
7
8
9
10
11
export declare type NodePlatform = 'windows' | 'mac' | 'alpine' | 'linux';
export declare type NodeArch = 'x86' | 'x64' | 'arm' | 'arm64';
declare const platforms: NodePlatform[], architectures: NodeArch[];
export { platforms, architectures };
export interface NexeTarget {
    version: string;
    platform: NodePlatform | string;
    arch: NodeArch | string;
}
export declare function targetsEqual(a: NexeTarget, b: NexeTarget): boolean;
export declare function getTarget(target?: string | Partial<NexeTarget>): NexeTarget;