Package.swift 1.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  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. ],
  26. dependencies: [
  27. .package(url: "https://github.com/apple/swift-argument-parser", .exact("0.1.0")),
  28. ],
  29. targets: [
  30. .target(
  31. name: "ZipBuilder",
  32. dependencies: ["ArgumentParser", "FirebaseManifest", "Utils"]
  33. ),
  34. .target(
  35. name: "FirebaseManifest"
  36. ),
  37. .target(
  38. name: "FirebaseReleaser",
  39. dependencies: ["ArgumentParser", "FirebaseManifest", "Utils"]
  40. ),
  41. .target(
  42. name: "PodspecsTester",
  43. dependencies: ["ArgumentParser", "FirebaseManifest", "Utils"]
  44. ),
  45. .target(
  46. name: "Utils"
  47. ),
  48. ]
  49. )