I couldn't find latest brotli binary for Win64 / x64, so here is how to compile it on Windows, for Windows: https://github.com/google/brotli
Will use this repo later: https://github.com/Microsoft/vcpkg
I couldn't find latest brotli binary for Win64 / x64, so here is how to compile it on Windows, for Windows: https://github.com/google/brotli
Will use this repo later: https://github.com/Microsoft/vcpkg
# for GitHub: | |
# use this for name: | |
VERNAME=$(wget -q -O- https://api.github.com/repos/roelds/litaf/releases/latest | jq -r '.name') | |
# or this for tag name, if jq installed: | |
VERTAG=$(wget -q -O- https://api.github.com/repos/roelds/litaf/releases/latest | jq -r '.tag_name') | |
# or if jq not installed: | |
curl --silent "https://api.github.com/repos/roelds/litaf/releases/latest" | grep -Po "(?<=\"tag_name\": \").*(?=\")" | |
# latest release tag name, for GitLab: | |
curl -s https://gitlab.com/gitlab-org/cli/-/releases/permalink/latest | grep -m1 -Eo "releases/[^/]+\"" | awk 'BEGIN { FS="/" } {print $2}' | rev | cut -c2- | rev |
# forkware.yaml | |
# hosted is github or gitlab | |
# latest or tag, clone or fork | |
# n is new line after, r is replace line, b is new line before, i is insert, a is append | |
--- | |
therepo: prometheus/prometheus | |
hosted: github | |
release: latest | |
method: clone | |
files: |
#!/usr/bin/fish | |
#v1.0 | |
echo $argv | |
set src (yq '.therepo' forkware.yaml) | |
set host (yq '.hosted' forkware.yaml) | |
set rel (yq '.release' forkware.yaml) | |
set meth (yq '.method' forkware.yaml) | |
echo $src |
I hereby claim:
To claim this, I am signing this object: