mirror of
https://github.com/tauri-apps/tauri.git
synced 2026-04-03 10:11:15 +02:00
* Restructure the repository * lock file * fmt * fix bench * fix cli template test * remove accidental file * fix mv command * clippy * upgrade paths-filter github action * fix cli migration tests * lockfile * license headers * clippy * scope test-core to tauri crate * license header * correct --manifest-path usage * lockfile * fix tauri-driver on macOS [skip ci] * build target ios * try downgrade env_logger * downgrade 0.1.7 * try to fix bench * bench overflow * revert overflow fix, fix tauri_root_path * revert env_logger downgrade * fmt * raise msrv to 1.71 * fmt * delete .cargo/config.toml [skip ci] --------- Co-authored-by: Lucas Nogueira <lucas@tauri.app>
36 lines
1.2 KiB
Swift
36 lines
1.2 KiB
Swift
// swift-tools-version:5.3
|
|
// Copyright 2019-2024 Tauri Programme within The Commons Conservancy
|
|
// SPDX-License-Identifier: Apache-2.0
|
|
// SPDX-License-Identifier: MIT
|
|
|
|
import PackageDescription
|
|
|
|
let package = Package(
|
|
name: "tauri-plugin-sample",
|
|
platforms: [
|
|
.macOS(.v10_13),
|
|
.iOS(.v13),
|
|
],
|
|
products: [
|
|
// Products define the executables and libraries a package produces, and make them visible to other packages.
|
|
.library(
|
|
name: "tauri-plugin-sample",
|
|
type: .static,
|
|
targets: ["tauri-plugin-sample"]),
|
|
],
|
|
dependencies: [
|
|
// Dependencies declare other packages that this package depends on.
|
|
.package(name: "Tauri", path: "../../../../../crates/tauri/mobile/ios-api")
|
|
],
|
|
targets: [
|
|
// Targets are the basic building blocks of a package. A target can define a module or a test suite.
|
|
// Targets can depend on other targets in this package, and on products in packages this package depends on.
|
|
.target(
|
|
name: "tauri-plugin-sample",
|
|
dependencies: [
|
|
.byName(name: "Tauri")
|
|
],
|
|
path: "Sources")
|
|
]
|
|
)
|