Swiftpack.co -  gustavoSAS/WorkspaceGen as Swift Package
Swiftpack.co is a collection of thousands of indexed Swift packages. Search packages.
gustavoSAS/WorkspaceGen
Command line to generate .xcworkspace also add .xcodeproj and local Swift Package Manager
.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 git@github.com: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: 6 days ago

Ad: Job Offers

iOS Software Engineer @ Perry Street Software
Perry Street Software is Jack’d and SCRUFF. We are two of the world’s largest gay, bi, trans and queer social dating apps on iOS and Android. Our brands reach more than 20 million members worldwide so members can connect, meet and express themselves on a platform that prioritizes privacy and security. We invest heavily into SwiftUI and using Swift Packages to modularize the codebase.

Dependencies

Release Notes

v1.0.0
6 days ago

v1.0.0

Added

  • First Release

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