mirror of
https://github.com/nmattia/niv.git
synced 2024-09-18 19:07:19 +03:00
Fix typos
This commit is contained in:
parent
923f794e4d
commit
09d6e876df
@ -46,9 +46,6 @@ necessary for fetching and updating the packages.
|
||||
`nix/sources.nix` file that returns the sources as a Nix object.
|
||||
* [Show](#show): shows the packages' information.
|
||||
|
||||
The next two sections cover [common use cases](#getting-started) and [full command
|
||||
description](#commands).
|
||||
|
||||
### Configuration
|
||||
|
||||
The following environment variables are read by `niv`:
|
||||
@ -58,7 +55,7 @@ The following environment variables are read by `niv`:
|
||||
| GITHUB_TOKEN | When set, the value is used to authenticate GitHub API requests. |
|
||||
| GITHUB_HOST | The GitHub host to use when fetching packages. Port may be appended here. |
|
||||
| GITHUB_API_HOST | The host used when performing GitHub API requests. Use `GITHUB_API_PORT` for specifying the port. |
|
||||
| GITHUB_API_PORT | The port used when performing GitHub API requests. Defauts to `443` for secure requests. Defaults to `80` for insecure requests. See also: `GITHUB_SECURE`. |
|
||||
| GITHUB_API_PORT | The port used when performing GitHub API requests. Defaults to `443` for secure requests. Defaults to `80` for insecure requests. See also: `GITHUB_INSECURE`. |
|
||||
| GITHUB_INSECURE | When set to anything but the empty string, requests are performed over `http` instead of `https`. |
|
||||
| GITHUB_PATH | The base path used when performing GitHub API requests. |
|
||||
|
||||
|
@ -46,9 +46,6 @@ necessary for fetching and updating the packages.
|
||||
`nix/sources.nix` file that returns the sources as a Nix object.
|
||||
* [Show](#show): shows the packages' information.
|
||||
|
||||
The next two sections cover [common use cases](#getting-started) and [full command
|
||||
description](#commands).
|
||||
|
||||
### Configuration
|
||||
|
||||
The following environment variables are read by `niv`:
|
||||
@ -58,7 +55,7 @@ The following environment variables are read by `niv`:
|
||||
| GITHUB_TOKEN | When set, the value is used to authenticate GitHub API requests. |
|
||||
| GITHUB_HOST | The GitHub host to use when fetching packages. Port may be appended here. |
|
||||
| GITHUB_API_HOST | The host used when performing GitHub API requests. Use `GITHUB_API_PORT` for specifying the port. |
|
||||
| GITHUB_API_PORT | The port used when performing GitHub API requests. Defauts to `443` for secure requests. Defaults to `80` for insecure requests. See also: `GITHUB_SECURE`. |
|
||||
| GITHUB_API_PORT | The port used when performing GitHub API requests. Defaults to `443` for secure requests. Defaults to `80` for insecure requests. See also: `GITHUB_INSECURE`. |
|
||||
| GITHUB_INSECURE | When set to anything but the empty string, requests are performed over `http` instead of `https`. |
|
||||
| GITHUB_PATH | The base path used when performing GitHub API requests. |
|
||||
|
||||
|
@ -11,4 +11,10 @@ set -euo pipefail
|
||||
echo "Updating README"
|
||||
|
||||
cat $(nix-build -A readme) > README.md
|
||||
#$(nix-build -A niv-svg-gen)
|
||||
|
||||
if [ $# -gt 0 ] && [ $1 == "svg" ]; then
|
||||
echo "Updating niv.svg"
|
||||
$(nix-build -A niv-svg-gen)
|
||||
fi
|
||||
|
||||
echo done
|
||||
|
Loading…
Reference in New Issue
Block a user