BuildPlatform

data class BuildPlatform(val os: String, val arch: String) : Serializable

An operating system and architecture pair, using the Node.js distribution naming, for example linux and x64.

Constructors

Link copied to clipboard
constructor(os: String, arch: String)

Properties

Link copied to clipboard
@get:Input
val arch: String

the CPU architecture, for example x64 or arm64.

Link copied to clipboard
@get:Input
val os: String

the operating system name, for example linux, darwin or win.

Functions

Link copied to clipboard
open override fun toString(): String

Returns the platform in the Node.js distribution naming format <os>-<arch>, for example linux-x64.