🍔🍟 Fastfood

Swift 4 Homebrew Swift Package Manager BuddyBuild PRs Welcome

Fastfood 是一种在多个项目之间共享 lanes 的简单方式。

特性

要求

用法

如果您在多个项目之间共享 lanes,并且希望将 Fastfile 存储在带有本地缓存的远程 git 存储库中,Fastfood 会很有用。 要使用它,请在项目文件夹中运行 fastfood update。 就是这样! Fastfood 会在需要时更新本地保存的 Fastfile,并在当前项目中创建一个新的 Fastfile 或更新现有文件。 默认情况下,Fastfood 会从 这个 仓库克隆文件。

运行 fastfood help 查看可用选项

Usage: fastfood [options]
  update:
      Update fastlane in the project.
  clean:
      Clean all cached versions.
  help:
      Print this message.
  -u, --url:
      URL to a repo contains Fastfile.
  -v, --version:
      A tag or branch name.
  -f, --force:
      Update to last version.
  --no-cache:
      Update shared fastlane ignoring cached versions. Usually uses for fastlane in development stage.
  -mi, --manual-input:
	    Enable manual input for configurating env file.

安装

Homebrew (推荐)

$ brew install artemnovichkov/projects/fastfood

Carthage

创建一个列出框架的 Cartfile 并运行 carthage update。 按照 说明 将框架添加到您的项目中。

github "artemnovichkov/Fastfood"

Swift Package Manager

// swift-tools-version:4.0

import PackageDescription

let package = Package(
    name: "Project",
    dependencies: [
    .package(url: "https://github.com/artemnovichkov/fastfood.git", from: "1.0.0"),
        ],
    targets: [
        .target(
            name: "Project", dependencies: ["Fastfood"])
    ]
)

手动

Sources 文件夹从 最新版本 拖到您的项目中。

作者

Artem Novichkov, novichkoff93@gmail.com

许可证

Fastfood 在 MIT 许可证下可用。 更多信息请参见 LICENSE 文件。