Skip to content

Commit

Permalink
Merge #639
Browse files Browse the repository at this point in the history
639: update docs for develop r=KristofferC a=KristofferC

Fixes #636

Co-authored-by: Kristoffer Carlsson <kcarlsson89@gmail.com>
  • Loading branch information
bors[bot] and KristofferC committed Aug 13, 2018
2 parents 603c6a2 + 5f7ece7 commit 46fcd4f
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 6 deletions.
6 changes: 3 additions & 3 deletions src/Pkg.jl
Expand Up @@ -219,10 +219,10 @@ If `pkg` is given as a local path, the package at that path will be tracked.
Pkg.develop("Example")
# By url
Pkg.develop(PackageSpec(url="https://github.com/JuliaLang/Compat.jl", rev="master"))
Pkg.develop(PackageSpec(url="https://github.com/JuliaLang/Compat.jl"))
# By path (also uses url keyword to PackageSpec)
Pkg.develop(PackageSpec(url="MyJuliaPackages/Package.jl")
# By path
Pkg.develop(PackageSpec(path="MyJuliaPackages/Package.jl")
```
See also [`PackageSpec`](@ref)
Expand Down
5 changes: 2 additions & 3 deletions src/REPLMode.jl
Expand Up @@ -1040,9 +1040,8 @@ This operation is undone by `free`.
*Example*
```jl
pkg> develop Example
pkg> develop Example#master
pkg> develop Example#c37b675
pkg> develop https://github.com/JuliaLang/Example.jl#master
pkg> develop https://github.com/JuliaLang/Example.jl
pkg> develop ~/mypackages/Example
pkg> develop --local Example
```
""",
Expand Down

0 comments on commit 46fcd4f

Please sign in to comment.