Improved the Build subcommand to support the building of Docker images #11
16
Library/Sources/Public/Enumerations/Artifact.swift
Normal file
16
Library/Sources/Public/Enumerations/Artifact.swift
Normal file
@ -0,0 +1,16 @@
|
|||||||
|
public enum Artifact: String {
|
||||||
|
case executable
|
||||||
|
case image
|
||||||
|
}
|
||||||
|
|
||||||
|
// MARK: - Randomable
|
||||||
|
|
||||||
|
extension Artifact: Randomable {
|
||||||
|
|
||||||
|
// MARK: Functions
|
||||||
|
|
||||||
|
static func random() -> Artifact {
|
||||||
|
.allCases.randomElement() ?? .executable
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
Loading…
x
Reference in New Issue
Block a user