[smart bundling] git urls
This commit is contained in:
parent
1fcca6951e
commit
a4e6faa4a9
@ -174,7 +174,7 @@ Think about it for a minute. Imagine this workflow:
|
|||||||
|
|
||||||
**Step 1: clone**
|
**Step 1: clone**
|
||||||
|
|
||||||
`git clone https://<...>`
|
`git clone https://git.example.org/project`
|
||||||
|
|
||||||
- Download the application source.
|
- Download the application source.
|
||||||
- Download all dependencies to `.git/`, but not check them out (due to the
|
- Download all dependencies to `.git/`, but not check them out (due to the
|
||||||
@ -194,7 +194,7 @@ doing so, which is nice when hacking.
|
|||||||
|
|
||||||
**Step 3: add a dependency**
|
**Step 3: add a dependency**
|
||||||
|
|
||||||
`zig pkg get https://git.example.org/repo`
|
`zig pkg get https://git.example.org/dep1`
|
||||||
|
|
||||||
- record the path of the dependency (just the user's *intent*, as typed) to the
|
- record the path of the dependency (just the user's *intent*, as typed) to the
|
||||||
zigpkg's config file.
|
zigpkg's config file.
|
||||||
|
Loading…
Reference in New Issue
Block a user