SwiftPlate

Easily generate cross platform Swift framework projects from the command line

Github星跟蹤圖

SwiftPlate

Easily generate cross platform Swift framework projects from the command line.

SwiftPlate will generate Xcode projects for you in seconds, that support:

  • CocoaPods
  • Carthage
  • Swift Package Manager
  • iOS
  • macOS
  • watchOS
  • tvOS
  • Linux

Just run swiftplate, and you’ll be presented with a simple step-by-step guide:

Usage

$ brew install swiftplate
$ swiftplate

Using Make

$ git clone git@github.com:JohnSundell/SwiftPlate.git
$ cd swiftplate
$ make

Using Marathon

$ git clone git@github.com:JohnSundell/SwiftPlate.git
$ marathon run swiftplate/main

Using the Swift interpreter directly

$ git clone git@github.com:JohnSundell/SwiftPlate.git
$ swift swiftplate/main.swift

Using Xcode

$ git clone git@github.com:JohnSundell/SwiftPlate.git
$ open swiftplate/SwiftPlate.xcodeproj

Command line arguments

Besides using the guide to input information, SwiftPlate also supports command line arguments when launched. When a certain piece of information is supplied through an argument, SwiftPlate won't ask for that information when run. These are the arguments currently supported:, Name, Description, Long parameter, Short parameter, ----, -----------, --------------, ---------------, Destination, Where the generated project should be saved, --destination, -d, Project name, The name of your project, --project, -p, Author name, Your name, --name, -n, Author email, Your email (for Podspec), --email, -e, GitHub URL, Any URL you'll be hosting the project at (for Podspec), --url, -u, Organization name, The name of your organization, --organization, -o, Repo, Any custom SwiftPlate repository that should be used for templates, --repo, -r, Force, Prevent user prompt at the end (for CIs etc.), --force, -f, ## Questions or feedback?

Feel free to open an issue, or find me @johnsundell on Twitter.

主要指標

概覽
名稱與所有者JohnSundell/SwiftPlate
主編程語言Swift
編程語言Swift (語言數: 4)
平台
許可證MIT License
所有者活动
創建於2015-06-10 23:48:16
推送於2019-03-31 20:56:55
最后一次提交2019-03-31 22:56:54
發布數7
最新版本名稱1.4.0 (發布於 )
第一版名稱1.0.0 (發布於 )
用户参与
星數1.8k
關注者數29
派生數87
提交數117
已啟用問題?
問題數37
打開的問題數16
拉請求數27
打開的拉請求數4
關閉的拉請求數5
项目设置
已啟用Wiki?
已存檔?
是復刻?
已鎖定?
是鏡像?
是私有?