Skip to content

Commit 8d7b017

Browse files
authored
Merge pull request #19: Check binaries before downloading
Check binaries before downloading
2 parents 58ce398 + 6a811d8 commit 8d7b017

File tree

11 files changed

+658
-49
lines changed

11 files changed

+658
-49
lines changed

README.md

+3
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,7 @@ To download all the configured software, run `dload get` without arguments:
6969
<registry>
7070
<software name="RoadRunner"
7171
alias="rr"
72+
binary="rr"
7273
description="High performant Application server"
7374
>
7475
<repository type="github"
@@ -83,6 +84,8 @@ To download all the configured software, run `dload get` without arguments:
8384
</dload>
8485
```
8586

87+
DLoad will check the option `software.binary` to prevent downloading if the file already exists.
88+
8689
### GitHub Token
8790

8891
To increase the rate limit for GitHub API, you can specify the token in the environment variable `GITHUB_TOKEN`:

dload.xml

+1-2
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,10 @@
99
<download software="temporal" />
1010
</actions>
1111
<registry overwrite="false">
12-
<software name="RoadRunner" alias="rr"
12+
<software name="RoadRunner" alias="rr" binary="rr"
1313
homepage="https://roadrunner.dev"
1414
description="High performant Application server">
1515
<repository type="github" uri="roadrunner-server/roadrunner" asset-pattern="/^roadrunner-.*/"/>
16-
<file rename="rr" pattern="/^(roadrunner|rr)(?:\.exe)?$/" />
1716
</software>
1817
</registry>
1918
</dload>

0 commit comments

Comments
 (0)