Skip to content

Commit

Permalink
docs
Browse files Browse the repository at this point in the history
  • Loading branch information
strega-nil committed Jun 23, 2021
1 parent 4375c8d commit 0dfdb30
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 8 deletions.
5 changes: 3 additions & 2 deletions docs/maintainers/vcpkg_download_distfile.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,9 @@ Skip SHA512 hash check for file.
This switch is only valid when building with the `--head` command line flag.

### ALWAYS_REDOWNLOAD
This should be used when in `--head` mode, in order to tell this command to redownload when possible;
in other words, avoid caching. This has no effect in `--no-downloads` mode.
Avoid caching; this is a REST call or otherwise unstable.

Requires `SKIP_SHA512`.

### HEADERS
A list of headers to append to the download request. This can be used for authentication during a download.
Expand Down
9 changes: 3 additions & 6 deletions docs/maintainers/vcpkg_from_sourceforge.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@ The latest version of this document lives in the [vcpkg repo](https://github.com

Download and extract a project from sourceforge.

This function automatically checks a set of sourceforge mirrors;
additionally, mirrors can be injected through the `VCPKG_SOURCEFORGE_EXTRA_MIRRORS`
variable, which should be a semicolon-separated list.
This function automatically checks a set of sourceforge mirrors.
Additional mirrors can be injected through the `VCPKG_SOURCEFORGE_EXTRA_MIRRORS`
list variable in the triplet.

## Usage:
```cmake
Expand Down Expand Up @@ -58,9 +58,6 @@ A list of patches to be applied to the extracted sources.

Relative paths are based on the port directory.

### DISABLE_SSL
Disable ssl when downloading source.

### NO_REMOVE_ONE_LEVEL
Specifies that the default removal of the top level folder should not occur.

Expand Down

0 comments on commit 0dfdb30

Please sign in to comment.