comparison .chezmoiscripts/run_onchange_after_22-install-devtools.sh.tmpl @ 836:3f2440bfd0de

feat: add hyperfine to devtools
author zegervdv <zegervdv@me.com>
date Wed, 24 Jan 2024 08:30:17 +0100
parents e4d67607d020
children f3e87577dd3a
comparison
equal deleted inserted replaced
834:0fb5efcdd032 836:3f2440bfd0de
1 {{ if (and (eq .chezmoi.os "linux") (eq .chezmoi.osRelease.name "Ubuntu" )) -}} 1 {{ if (and (eq .chezmoi.os "linux") (eq .chezmoi.osRelease.name "Ubuntu" )) -}}
2 {{ $packages := dict 2 {{ $packages := dict
3 "fd" (dict "version" "9.0.0" "url" "https://github.com/sharkdp/fd/releases/download/v${VERSION}/fd-v${VERSION}-i686-unknown-linux-musl.tar.gz") 3 "fd" (dict "version" "9.0.0" "url" "https://github.com/sharkdp/fd/releases/download/v${VERSION}/fd-v${VERSION}-i686-unknown-linux-musl.tar.gz")
4 "rg" (dict "version" "14.0.3" "url" "https://github.com/BurntSushi/ripgrep/releases/download/${VERSION}/ripgrep-${VERSION}-x86_64-unknown-linux-musl.tar.gz") 4 "rg" (dict "version" "14.0.3" "url" "https://github.com/BurntSushi/ripgrep/releases/download/${VERSION}/ripgrep-${VERSION}-x86_64-unknown-linux-musl.tar.gz")
5 "delta" (dict "version" "0.16.5" "url" "https://github.com/dandavison/delta/releases/download/${VERSION}/delta-${VERSION}-x86_64-unknown-linux-musl.tar.gz") -}} 5 "delta" (dict "version" "0.16.5" "url" "https://github.com/dandavison/delta/releases/download/${VERSION}/delta-${VERSION}-x86_64-unknown-linux-musl.tar.gz")
6 "hyperfine" (dict "version" "1.18.0" "url" "https://github.com/sharkdp/hyperfine/releases/download/v${VERSION}/hyperfine-v${VERSION}-x86_64-unknown-linux-musl.tar.gz") -}}
6 #!/usr/bin/env bash 7 #!/usr/bin/env bash
7 8
8 set -xe 9 set -xe
9 10
10 DOWNLOAD_DIR=${TMPDIR:-/tmp}/devtools 11 DOWNLOAD_DIR=${TMPDIR:-/tmp}/devtools