Package.swift 1.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657
  1. // swift-tools-version:4.0
  2. // The swift-tools-version declares the minimum version of Swift required to build this package.
  3. /*
  4. * Copyright 2019 Google
  5. *
  6. * Licensed under the Apache License, Version 2.0 (the "License");
  7. * you may not use this file except in compliance with the License.
  8. * You may obtain a copy of the License at
  9. *
  10. * http://www.apache.org/licenses/LICENSE-2.0
  11. *
  12. * Unless required by applicable law or agreed to in writing, software
  13. * distributed under the License is distributed on an "AS IS" BASIS,
  14. * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  15. * See the License for the specific language governing permissions and
  16. * limitations under the License.
  17. */
  18. import PackageDescription
  19. let package = Package(
  20. name: "ReleaseTooling",
  21. products: [
  22. .executable(name: "firebase-releaser", targets: ["FirebaseReleaser"]),
  23. .executable(name: "zip-builder", targets: ["ZipBuilder"]),
  24. .executable(name: "podspecs-tester", targets: ["PodspecsTester"]),
  25. .executable(name: "manifest", targets: ["ManifestParser"]),
  26. ],
  27. dependencies: [
  28. .package(url: "https://github.com/apple/swift-argument-parser", .exact("0.1.0")),
  29. ],
  30. targets: [
  31. .target(
  32. name: "ZipBuilder",
  33. dependencies: ["ArgumentParser", "FirebaseManifest", "Utils"]
  34. ),
  35. .target(
  36. name: "FirebaseManifest"
  37. ),
  38. .target(
  39. name: "ManifestParser",
  40. dependencies: ["ArgumentParser", "FirebaseManifest", "Utils"]
  41. ),
  42. .target(
  43. name: "FirebaseReleaser",
  44. dependencies: ["ArgumentParser", "FirebaseManifest", "Utils"]
  45. ),
  46. .target(
  47. name: "PodspecsTester",
  48. dependencies: ["ArgumentParser", "FirebaseManifest", "Utils"]
  49. ),
  50. .target(
  51. name: "Utils"
  52. ),
  53. ]
  54. )