-
-
Notifications
You must be signed in to change notification settings - Fork 85
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
Spm #30
Spm #30
Conversation
# Conflicts: # vapor.swift
…SPM. This does mostly everything except take a parameter where to install and copy there, which should be very simple to add (just don't have enough time right this moment).
# Conflicts: # .travis.yml # vapor.swift
Had to push out the last update, but I won't push anymore to master. Let's get this straightened out this week. :) There's also some good console code added to Vapor that might be worth putting in a separate package so we can use it in both places. |
Haha, in WWDC week? Let's see how that goes ;) I'll try and fix up the remaining bits tomorrow. |
@tannernelson just looking into merging 0.5.3 into this branch I noticed that there seems to have been an issue with installing that made you bring the Have you got a problem description that I could test against? Thanks! |
# Conflicts: # vapor.swift
…ptionally) install to a location (i.e. -> `/usr/local/bin/vapor`, which is the default) instead of a directory. This way we can run it as per installation instructions. Added FIXME warning to change the branch to `master` before merge.
…tead of `vapor self update` ( since there's now only one `self` command left) - Updated `.travis.yml` to reflect installation instructions and changes to `update` command
This can only work after cli.qutheory.io starts serving bootstrap.swift
@tannernelson I’m done with this but there are two things to do after merging.
|
PS: Changes to be made are FIXME labeled |
I'm going to merge this for now so we don't make any more accidental changes. But I have a few things I want to add before we tag. Like support for Vapor's commands. Nice work on this @feinstruktur! |
Thanks @tannernelson :) Not sure what exactly you mean by "Vapor's commands" but if you've got some specifics I can find some time this week to look into it. Now that this is in, I was also going to look into adding some unit tests via |
Unit tests would be awesome. The Vapor commands can be read about in the docs here: https://vapor.readme.io/v0.12/docs/command Basically Vapor has a little bit of CLI functionality itself now for serving and running preparations (migrations). You run this by doing I want to make the CLI reduce the typing here by doing To accomplish this we would need to parse the Package.swift to figure out the name of the package, then run the executable from either the debug or release folders. so something like |
Also if you look at the console stuff powering that, you can see there's some cool code here for doing colors, etc. I think it could be worth breaking this out into it's own package so both Vapor and the CLI can use it: https://github.com/qutheory/vapor/tree/master/Sources/Vapor/Console |
…ver_kind Removing database server kind description
Fixes #24
I just realised that I hadn't opened a PR for this yet :/
I've merged in latest changes from master just now. This will continue to be tricky and generate merge conflicts every time due to the way
vapor.swift
is no more in this branch.It would be great if we could merge this next so we can avoid the tricky merges from master. The only thing that still needs changing is reviewing the install/update process in the spm context, i.e. by downloading the bootstrap script and running it instead of downloading the vapor script and compiling it. This should be simple and I'll look into that once soon as we're sure we're going down this path.
See #24 for more details.