mirror of
https://github.com/TelegramMessenger/Telegram-iOS.git
synced 2026-07-06 03:33:41 +02:00
macos flatc
This commit is contained in:
parent
ca437201b7
commit
433c5ecc5c
6 changed files with 102 additions and 2 deletions
28
third-party/flatc/Package.swift
vendored
Normal file
28
third-party/flatc/Package.swift
vendored
Normal file
|
|
@ -0,0 +1,28 @@
|
|||
// swift-tools-version:5.5
|
||||
import PackageDescription
|
||||
|
||||
let package = Package(
|
||||
name: "FlatBuffersBuilder",
|
||||
platforms: [
|
||||
.macOS(.v12)
|
||||
],
|
||||
products: [
|
||||
.plugin(
|
||||
name: "FlatBuffersPlugin",
|
||||
targets: ["FlatBuffersPlugin"]
|
||||
)
|
||||
],
|
||||
dependencies: [],
|
||||
targets: [
|
||||
.binaryTarget(
|
||||
name: "flatc",
|
||||
url: "https://github.com/google/flatbuffers/releases/download/v23.5.26/Mac.flatc.binary.zip",
|
||||
checksum: "d65628c225ef26e0386df003fe47d6b3ec8775c586d7dae1a9ef469a0a9906f1"
|
||||
),
|
||||
.plugin(
|
||||
name: "FlatBuffersPlugin",
|
||||
capability: .buildTool(),
|
||||
dependencies: ["flatc"]
|
||||
)
|
||||
]
|
||||
)
|
||||
Loading…
Add table
Add a link
Reference in a new issue