Skip to content

Commit

Permalink
docs: update for new git implementation (#279)
Browse files Browse the repository at this point in the history
  • Loading branch information
swarnimarun authored Nov 14, 2023
1 parent 1bd5d9a commit 66376f9
Showing 1 changed file with 9 additions and 3 deletions.
12 changes: 9 additions & 3 deletions docs/recipe_file.md
Original file line number Diff line number Diff line change
Expand Up @@ -165,15 +165,21 @@ of the work folder.
#### Source from git
The git_url can also be a relative path to the recipe directory.
```yaml
source:
git_url: https://github.com/ilanschnell/bsdiff4.git
git_rev: 1.1.4
git_depth: 1 # (Defaults to -1/not shallow) Not implemented yet, ignored in the build for now.
git_depth: 1 # Defaults to -1/not shallow
```
The git_url can also be a relative path to the recipe directory.
```yaml
source:
git_url: ../../bsdiff4/.git
git_rev: 1.1.4
git_depth: 1 # Defaults to -1/not shallow
```
#### Source from hg
Expand Down

0 comments on commit 66376f9

Please sign in to comment.