Skip to content

Commit

Permalink
Update Package.swift
Browse files Browse the repository at this point in the history
  • Loading branch information
aromanov91 authored Dec 27, 2024
1 parent 3854546 commit 9ce0f8a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Package.swift
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,10 @@ let localDependencies: [PackageDescription.Package.Dependency] = commonDependenc
.package(name: "OversizeServices", path: "../OversizeServices"),
]

var dependencies: [PackageDescription.Package.Dependency] = localDependencies
var dependencies: [PackageDescription.Package.Dependency] = remoteDependencies

if ProcessInfo.processInfo.environment["BUILD_MODE"] == "PRODUCTION" {
dependencies = remoteDependencies
if ProcessInfo.processInfo.environment["BUILD_MODE"] == "DEV" {
dependencies = localDependencies
}

let package = Package(
Expand Down

0 comments on commit 9ce0f8a

Please sign in to comment.