Skip to content

Commit

Permalink
Fix typos
Browse files Browse the repository at this point in the history
  • Loading branch information
nmattia committed Sep 22, 2019
1 parent 923f794 commit 09d6e87
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 9 deletions.
5 changes: 1 addition & 4 deletions README.md
Expand Up @@ -46,9 +46,6 @@ necessary for fetching and updating the packages.
`nix/sources.nix` file that returns the sources as a Nix object. `nix/sources.nix` file that returns the sources as a Nix object.
* [Show](#show): shows the packages' information. * [Show](#show): shows the packages' information.


The next two sections cover [common use cases](#getting-started) and [full command
description](#commands).

### Configuration ### Configuration


The following environment variables are read by `niv`: The following environment variables are read by `niv`:
Expand All @@ -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_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_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_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_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. | | GITHUB_PATH | The base path used when performing GitHub API requests. |


Expand Down
5 changes: 1 addition & 4 deletions README.tpl.md
Expand Up @@ -46,9 +46,6 @@ necessary for fetching and updating the packages.
`nix/sources.nix` file that returns the sources as a Nix object. `nix/sources.nix` file that returns the sources as a Nix object.
* [Show](#show): shows the packages' information. * [Show](#show): shows the packages' information.


The next two sections cover [common use cases](#getting-started) and [full command
description](#commands).

### Configuration ### Configuration


The following environment variables are read by `niv`: The following environment variables are read by `niv`:
Expand All @@ -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_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_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_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_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. | | GITHUB_PATH | The base path used when performing GitHub API requests. |


Expand Down
8 changes: 7 additions & 1 deletion script/gen
Expand Up @@ -11,4 +11,10 @@ set -euo pipefail
echo "Updating README" echo "Updating README"


cat $(nix-build -A readme) > README.md 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

0 comments on commit 09d6e87

Please sign in to comment.