Swiftpack.co - gustavoSAS/WorkspaceGen as Swift Package

Swiftpack.co is a collection of thousands of indexed Swift packages. Search packages.
See all packages published by gustavoSAS.
gustavoSAS/WorkspaceGen v1.0.0
Command line to generate .xcworkspace also add .xcodeproj and local Swift Package Manager
⭐️ 1
🕓 3 years ago
.package(url: "https://github.com/gustavoSAS/WorkspaceGen.git", from: "v1.0.0")

WorkspaceGen

WorkspaceGen is a command line tool written in Swift that generate your .xcworkspace also add .xcodeproj and local Swift Package Manager. Using your workspace spec.

Given an example project spec:

name: MyWorkspace
minimumVersion: 1.0.0

targets:
  - MyProject:
    type: project
    path: CocktailApp.xcodeproj

  - CoreNetworking:
    type: project
    path: CoreNetworking/CoreNetworking.xcodeproj

  - MySPM:
    type: spm
    path: MySPM

Installing

Homebrew

brew tap gustavoSAS/homebrew-brew
brew install workspacegen

Swift Package Manager

Use as CLI

git clone [email protected]:gustavoSAS/WorkspaceGen.git
cd WorkspaceGen
swift run workspacegen

Usage

Simply run:

workspacegen generate

This will look for a workspace spec in the current directory called workspace.yml and generate a Workspace.

Options:

  • -h, --help: Show help information.
  • -q, --quiet: Suppress all informational, success and warning output.
  • -s, --spec : The path to the workspace spec file. Defaults to workspace.yml

Inspiration

License

WorkspaceGen is licensed under the MIT license. See LICENSE for more info.

GitHub

link
Stars: 1
Last commit: 3 years ago
Advertisement: IndiePitcher.com - Cold Email Software for Startups

Dependencies

Release Notes

v1.0.0
3 years ago

v1.0.0

Added

  • First Release

Swiftpack is being maintained by Petr Pavlik | @ptrpavlik | @swiftpackco | API | Analytics