Skip to content

Commit

Permalink
Revert "Exclude environment from CodingKeys"
Browse files Browse the repository at this point in the history
This reverts commit 413a5c9.
  • Loading branch information
dmhts committed Sep 6, 2024
1 parent 413a5c9 commit b6f27fc
Showing 1 changed file with 1 addition and 13 deletions.
14 changes: 1 addition & 13 deletions Sources/ScipioKit/BuildOptions.swift
Original file line number Diff line number Diff line change
Expand Up @@ -3,18 +3,6 @@ import OrderedCollections
import Basics

struct BuildOptions: Hashable, Codable, Sendable {

private enum CodingKeys: CodingKey {
case buildConfiguration
case isDebugSymbolsEmbedded
case frameworkType
case sdks
case extraFlags
case extraBuildParameters
case enableLibraryEvolution
case customFrameworkModuleMapContents
}

init(
buildConfiguration: BuildConfiguration,
isDebugSymbolsEmbedded: Bool,
Expand Down Expand Up @@ -48,7 +36,7 @@ struct BuildOptions: Hashable, Codable, Sendable {
/// - Note: It have to store the actual file contents rather than its path,
/// because the cache key should change when the file contents change.
let customFrameworkModuleMapContents: Data?
private(set) var environment: Environment? = nil
let environment: Environment?
}

public struct ExtraFlags: Hashable, Codable, Sendable {
Expand Down

0 comments on commit b6f27fc

Please sign in to comment.