Skip to content
This repository has been archived by the owner on Feb 26, 2022. It is now read-only.
/ PackageBuilder Public archive

PackageBuilder builds a simple command-line structure by SwiftPM.

License

Notifications You must be signed in to change notification settings

pixyzehn/PackageBuilder

Repository files navigation

PackageBuilder

SPM Build Status

PackageBuilder builds a simple command-line structure by SwiftPM, inspired by JohnSundell/SwiftPlate. PackageBuilder is originally created by using PackageBuilder.
See also Building a command line tool using the Swift Package Manager.

$ packagebuilder

PackageBuilder
--------------
PackageBuilder builds a simple command-line structure by SwiftPM.
.
├── Package.swift
├── README.md
├── Makefile
├── {PACKAGE_NAME}.xcodeproj
├── Sources
│   ├── {PACKAGE_NAME}
│   │   └── main.swift
│   └── {PACKAGE_NAME}Core
│       └── {PACKAGE_NAME}.swift
└── Tests
     ├── {PACKAGE_NAME}Tests
     │   ├── {PACKAGE_NAME}Tests.swift
     │   └── XCTestManifests.swift
     └── LinuxMain.swift
--------------
Examples:
- packagebuilder {PACKAGE_NAME}
- packagebuilder {PACKAGE_NAME} --path ~/Developer

Requirements

  • Git

Installation

On macOS

Makefile

$ git clone [email protected]:pixyzehn/PackageBuilder.git && cd PackageBuilder
$ make

SwiftPM

$ git clone [email protected]:pixyzehn/PackageBuilder.git && cd PackageBuilder
$ swift build -c release
$ cp -f .build/release/PackageBuilder /usr/local/bin/PackageBuilder
$ mint run pixyzehn/PackageBuilder

On Linux

$ git clone [email protected]:pixyzehn/PackageBuilder.git && cd PackageBuilder
$ swift build -c release
$ cp -f .build/release/PackageBuilder /usr/local/bin/PackageBuilder

Usage

$ packagebuilder {PACKAGE_NAME}
$ packagebuilder {PACKAGE_NAME} --path ~/Developer/project

Contributing

  1. Fork it ( https://github.com/pixyzehn/PackageBuilder )
  2. Create your feature branch (git checkout -b new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin new-feature)
  5. Create a new Pull Request

License

MIT License

About

PackageBuilder builds a simple command-line structure by SwiftPM.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published