Skip to content

Commit

Permalink
feat: adapt section of Dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
kogeletey committed Nov 28, 2023
1 parent b9d6c64 commit 234b4b8
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
9 changes: 6 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,13 @@

# Dependencies

**TODO: adapt this section**
- `bash`, `curl`, `tar`,`zstd`, and [POSIX utilities](https://pubs.opengroup.org/onlinepubs/9699919799/idx/utilities.html).

- `bash`, `curl`, `tar`, and [POSIX utilities](https://pubs.opengroup.org/onlinepubs/9699919799/idx/utilities.html).
- `SOME_ENV_VAR`: set this environment variable in your shell config to load the correct version of tool x.
If you have a Debian system like Ubuntu, you can install it by typing

```shell
apt install zstd
```

# Install

Expand Down
1 change: 0 additions & 1 deletion bin/download
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ source "${plugin_dir}/lib/utils.bash"

mkdir -p "$ASDF_DOWNLOAD_PATH"

# TODO: Adapt this to proper extension and adapt extracting strategy.
release_file="$ASDF_DOWNLOAD_PATH/$TOOL_NAME-$ASDF_INSTALL_VERSION.tar.zst"

# Download tar.gz file to the download directory
Expand Down
2 changes: 0 additions & 2 deletions lib/utils.bash
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,6 @@ list_github_tags() {
}

list_all_versions() {
# TODO: Adapt this. By default we simply list the tag names from GitHub releases.
# Change this function if pipelight has other means of determining installable versions.
list_github_tags
}
Expand All @@ -40,7 +39,6 @@ download_release() {
version="$1"
filename="$2"

# TODO: Adapt the release URL convention for pipelight
#url="$GH_REPO/archive/v${version}.tar.gz"
url="https://packages.pipelight.dev/pipelight-${version}-1-any.pkg.tar.zst"

Expand Down

0 comments on commit 234b4b8

Please sign in to comment.