Giter VIP home page Giter VIP logo

eggseed's Introduction

ย 

SwiftPM Twitter GitHub GitHub issues

macOS ubuntu arm Travis (.com) CircleCI Bitrise

Codecov CodeFactor Grade codebeat badge Code Climate maintainability Code Climate technical debt Code Climate issues Reviewed by Hound


EggSeed is a command-line tool for creating swift pacakges with continous integration support. While swift package init, creates simple packages, there is no guarantee that your package will work on everyone else's device. That's where continuous integration goes in.

By using eggseed, you can create a package with full integration into CI services such as: GitHub Actions, Travis-CI, BitRise, CircleCI and more. Not only that but EggSeed also sets up code documentation, linting, and more...

Check out the roadmap below for more details on future integrations.

Installation

mint install brightdigit/EggSeed

Swift Package Manager

Use as CLI

git clone https://github.com/brightdigit/EggSeed.git
cd EggSeed
swift run eggseed

Use as dependency

Add the following to your Package.swift file's dependencies:

.package(url: "https://github.com/brightdigit/EggSeed.git", from: "0.2.0"),

And then import wherever needed: import EggSeed

Usage

USAGE: eggseed [--package-type <package-type>] [--user-name <user-name>] [--path <path>]

OPTIONS:
  --package-type <package-type>
                          Swift Package Type (default: library)
  --user-name <user-name> User name or Owner of Repostory. 
  --path <path>           Root path of the Swift Package. 
  -h, --help              Show help information.

Eggseed can be run without any options. However there are a few options which can help customize your package:

Package Type --package-type (library or executable)

Desginates what type of package you are creating.

User Name --user-name

The owner to user name of the repository. If not specified, EggSeed will attempt to parse the URL for that information.

Path --path

Directory to create the Swift Package in, otherwise use the current directory.

Documentation

All code documentation is here.

Roadmap

Future Released Will Include:

Feel free to add an issue for any suggestions.

Contact

Follow and contact me on Twitter. If you find an issue, just open a ticket on it. Pull requests are warmly welcome as well.

License

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

eggseed's People

Contributors

actions-user avatar leogdion avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

eggseed's Issues

Will not compile on M1 MacBook

Environment: macOS 11.4, MacBook Pro (13-inch, M1, 2020)
Apple Swift version 5.4.2 (swiftlang-1205.0.28.2 clang-1205.0.19.57)
Target: arm64-apple-darwin20.5.0

I followed these simple instructions from the README:

That is all that I did. No modifications by me.
Did I miss something or are there other steps the README misses?

After the fetches etc. the compile job barfs with this:

Cloning https://github.com/Quick/Nimble
Resolving https://github.com/Quick/Nimble at 8.1.2
While building module 'std' imported from /Library/Developer/CommandLineTools/usr/include/c++/v1/stdint.h:123:
While building module 'Darwin' imported from /Library/Developer/CommandLineTools/usr/include/c++/v1/ctype.h:38:
In file included from :30:
In file included from /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/12.0.5/include/tgmath.h:21:
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.3.sdk/usr/include/tgmath.h:31:10: fatal error: cyclic dependency in module 'std': std -> Darwin -> std
#include <complex.h>
^
While building module 'std' imported from /Library/Developer/CommandLineTools/usr/include/c++/v1/stdint.h:123:
In file included from :1:
/Library/Developer/CommandLineTools/usr/include/c++/v1/ctype.h:38:15: fatal error: could not build module 'Darwin'
#include_next <ctype.h>

In file included from /Users/genedelisa/Development/others/Apple/EggSeed/.build/checkouts/swift-syntax/Sources/_CSwiftSyntax/src/atomic-counter.c:1:
In file included from /Users/genedelisa/Development/others/Apple/EggSeed/.build/checkouts/swift-syntax/Sources/_CSwiftSyntax/include/atomic-counter.h:1:
/Library/Developer/CommandLineTools/usr/include/c++/v1/stdint.h:123:15: fatal error: could not build module 'std'
#include_next <stdint.h>
~~~~~~~~~~~~~^
3 errors generated.
[0/87] Compiling atomic-counter.c
error: fatalError






Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.