Skip to content

Commit 9068ab9

Browse files
committed
Add example manifest to README
1 parent ff03667 commit 9068ab9

1 file changed

Lines changed: 44 additions & 0 deletions

File tree

README.md

Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,50 @@ Each release on the [releases page](https://github.com/dfetch-org/dfetch/release
6868
- macOS `.pkg`
6969
- Windows `.msi`
7070

71+
## Example manifest
72+
73+
```yaml
74+
manifest:
75+
version: 0.0
76+
77+
remotes: # declare common sources in one place
78+
- name: github
79+
url-base: https://github.com/ # Allow git modules
80+
default: true # Set it as default
81+
82+
- name: sourceforge
83+
url-base: svn://svn.code.sf.net/p/
84+
85+
projects:
86+
87+
- name: cpputest-git-tag
88+
dst: Tests/cpputest-git-tag
89+
url: https://github.com/cpputest/cpputest.git # Use external git directly
90+
tag: v3.4 # revision can also be a tag
91+
92+
- name: tortoise-svn-branch-rev
93+
dst: Tests/tortoise-svn-branch-rev/
94+
remote: sourceforge
95+
branch: 1.10.x
96+
revision: '28553'
97+
src: src/*
98+
vcs: svn
99+
repo-path: tortoisesvn/code
100+
101+
- name: tortoise-svn-tag
102+
dst: Tests/tortoise-svn-tag/
103+
remote: sourceforge
104+
tag: version-1.13.1
105+
src: src/*.txt
106+
vcs: svn
107+
repo-path: tortoisesvn/code
108+
109+
- name: cpputest-git-src
110+
dst: Tests/cpputest-git-src
111+
repo-path: cpputest/cpputest.git
112+
src: src
113+
```
114+
71115
## Github Action
72116
73117
You can use DFetch in your Github Actions workflow to check your dependencies.

0 commit comments

Comments
 (0)