mirror of
https://github.com/mas-cli/mas
synced 2024-11-24 20:43:10 +00:00
Upgrade Xcode dependency to 14.2.
Partial #638 Signed-off-by: Ross Goldberg <484615+rgoldberg@users.noreply.github.com>
This commit is contained in:
parent
173b0a9d86
commit
097d04c460
4 changed files with 4 additions and 14 deletions
2
.github/ISSUE_TEMPLATE/bug_report.md
vendored
2
.github/ISSUE_TEMPLATE/bug_report.md
vendored
|
@ -20,7 +20,7 @@ assignees: ''
|
|||
- [] `.pkg` installer from [releases](https://github.com/mas-cli/mas/releases)
|
||||
- [] Built from source
|
||||
- Fork/branch: ? (e.g. mas-cli/main)
|
||||
- Xcode version: 10.?
|
||||
- Xcode version: (e.g. 14.2)
|
||||
|
||||
## Describe the Bug
|
||||
|
||||
|
|
|
@ -28,13 +28,8 @@ class Mas < Formula
|
|||
sha256 cellar: :any_skip_relocation, el_capitan: "0d042a450d2623e3ea40db0b645454ee88d1a1763a7aa778eec5beea619b9a60"
|
||||
end
|
||||
|
||||
depends_on xcode: ["14.2", :build]
|
||||
depends_on :macos
|
||||
on_arm do
|
||||
depends_on xcode: ["12.2", :build]
|
||||
end
|
||||
on_intel do
|
||||
depends_on xcode: ["12.0", :build]
|
||||
end
|
||||
|
||||
def install
|
||||
system "script/build"
|
||||
|
|
|
@ -23,13 +23,8 @@ class Mas < Formula
|
|||
sha256 cellar: :any_skip_relocation, catalina: "d241d3b9156b033f3d2c31684a44de726297e07fd9bd5e3ccc4c36e4f1c3baf3"
|
||||
end
|
||||
|
||||
depends_on xcode: ["14.2", :build]
|
||||
depends_on :macos
|
||||
on_arm do
|
||||
depends_on xcode: ["12.2", :build]
|
||||
end
|
||||
on_intel do
|
||||
depends_on xcode: ["12.0", :build]
|
||||
end
|
||||
|
||||
def install
|
||||
system "script/build"
|
||||
|
|
|
@ -22,7 +22,7 @@ if [[ "${#}" -ge 1 && "${1}" == '--universal' ]]; then
|
|||
)
|
||||
fi
|
||||
|
||||
# Disable the manifest cache on Xcode 12.5 and later.
|
||||
# Disable the manifest cache.
|
||||
CACHE=()
|
||||
if [[ "$(swift build --help)" =~ manifest-cache ]]; then
|
||||
CACHE=(--manifest-cache none)
|
||||
|
|
Loading…
Reference in a new issue