Mercurial > dotfiles
view .chezmoiscripts/run_onchange_after_17-install-mercurial.sh.tmpl @ 1058:9a26b3369ef0
feat: add extra changes to helix build
author | Zeger Van de Vannet <zeger@vandevan.net> |
---|---|
date | Wed, 28 Aug 2024 20:02:57 +0200 |
parents | 38b8060cdf24 |
children | f27c3aa3233c |
line wrap: on
line source
{{ if (and (eq .chezmoi.os "linux") (eq .chezmoi.osRelease.name "Ubuntu")) -}} {{ $version := "6.7.4" -}} #!/usr/bin/env bash set -xe sudo apt install --yes clang rustc cargo python3-dev python3-setuptools python3-docutils python3-pip curl -fsSL https://foss.heptapod.net/mercurial/mercurial-devel/-/archive/{{ $version }}/mercurial-devel-{{ $version }}.tar.gz | tar xz -C /tmp cd /tmp/mercurial-devel-{{ $version }} mkdir -p $HOME/mercurial $HOME/bin/mise exec [email protected] -- pip install docutils $HOME/bin/mise exec [email protected] [email protected] -- make PURE=--rust install-home $HOME/bin/mise exec [email protected] [email protected] -- pip install --upgrade hg-evolve~=11.1.3 hg-git~=1.1.2 mercurial_keyring~=1.4.4 {{ end }}