-
Notifications
You must be signed in to change notification settings - Fork 4
Feature package manager support #4
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
base: master
Are you sure you want to change the base?
Feature package manager support #4
Conversation
3c37e0f
to
bb6a78f
Compare
bb6a78f
to
8564a4f
Compare
4d013b5
to
dfaf02e
Compare
README.md
Outdated
|
||
To install Visually using **Swift Package Manager** go through following steps: | ||
|
||
1. Add following package dependency in you **Package.swift** ``` .package(url: "https://github.com/lukkas/Visually.git", from: "2.0.0") ``` |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think I'd just leave point 1. (and of course remove the number) and maybe add some context here, like so
dependencies: [
.package(url: "https://github.com/lukkas/Visually.git", from: "2.0.0")
]
I'd leave out point 2 and the example. It is just information that you can find anywhere and I wouldn't like to focus on this in README too much
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The "from" must be specified for a package dependency, I suggest changing "2.0.0" to -> "VERSION_NUMBER_HERE"
what do you think?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I meant the entire second point of the instruction, not the version number. I don't want to get too specific of how to use SPM here. I think that up to 5 lines, including snippets is enough.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sure, I'm onto it :)
Added Swift Package Manager support & fixed codecov badge