Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

New project layout, Carthage, SPM [WIP] #183

Closed
wants to merge 44 commits into from
Closed

New project layout, Carthage, SPM [WIP] #183

wants to merge 44 commits into from

Conversation

fulldecent
Copy link
Collaborator

@fulldecent fulldecent commented Jun 29, 2016

The develop branch contains a new projects layout and closes most open issues. Please help by playing with the proposed code and contributing code fixes or test cases of things that are broken.

How can I play with this PR?

  • Clone and cd into the directory
  • Run some stuff you need to run for any Ruby project:
    • gem install bundler
    • bundle install
  • Run the included test suite:
    • rake
    • Note: this uses the latest released version of CocoaPods to run this template (retrieved with Bundler above)
  • Try it for real:
    • cd ~/Desktop
    • pod lib create --verbose --template-url='file:///PATH/TO/pod-template' NewPod
    • Note: this uses your INSTALLED VERSION of pod to run this template
  • Hacking:
    • Note: you MUST commit to git BEFORE you do rake testing or pod lib create testing. Both of those tools pull from master in your local repository. Learn how to squash commits :-)

PR Status

Wording:

  • pod-template -- this project
  • template -- a model that can have things changed
  • vendored -- a chosen template with variable substitutions and other updates applied and ready for making an iOS framework

pod-template progress:

  • Make vendoring work
  • Set up testing with rake/rspec to validate the vendoring process (fixes Create a full test #79)
  • Set up Travis CI
  • Update variable substitution process, remove unused code

baseline template progress: (new feature)

swift template progress:

  • Create a hello world example (this is a change), it actually does something
  • Remove FDChessboardView and my name from project, use variable substitution
  • Remove XCode warnings (fixes Recommended project settings #131)
  • Has "hello world"-level functionality

objective-c template progress: [HELP REQUESTED]

  • Translate the current Swift template into Objective-C

other blockers:

PLEASE HELP REVIEW AND ADD BLOCKERS HERE

  • Confirm each set of options works [HELP REQUESTED]
  • Update readme with PLAYING WITH PR notes above

fulldecent and others added 9 commits June 26, 2016 18:46
* upstream/develop:
  working travis-ci example
  Move the work for setting up the code coverage into a separate file
  Add post_install scripts to support gathering code coverage data.
  Enable gathering coverage data on example project. It may seem like this changes more lines than it needs to, but this is everything that Xcode 7.1.1 changed when I checked the coverage box, and it appears that none of it can be left out for the box to stay checked.
  Use past participle “run” instead of past tense “ran”.
New project layout, Carthage, SPM [WIP]
@fulldecent
Copy link
Collaborator Author

@orta Now that this is in develop, you have commit access and I don't. I can continue to make bite-sized PRs into this develop branch. But please help me get a better handle on what to do, so that I'm moving in the right direction :-)

@fulldecent
Copy link
Collaborator Author

@orta FYI, I'm also on IRC if all these emails weren't already annoying enough :-)

@orta
Copy link
Member

orta commented Jun 30, 2016

Added you as a contributor too, you shouldn't be blocked by me

@fulldecent
Copy link
Collaborator Author

Cool thank you

@fulldecent fulldecent closed this Jun 30, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Update project layout for Swift Package Manager Create a full test Recommended project settings
2 participants