Mercurial > dotfiles
comparison .chezmoiscripts/run_once_after_39-install-helix.sh.tmpl @ 1059:7d9ba468d4d0
feat: use own forked repo for helix
author | Zeger Van de Vannet <zeger@vandevan.net> |
---|---|
date | Sun, 15 Sep 2024 17:55:54 +0200 |
parents | 9a26b3369ef0 |
children | 6fe519d8261b |
comparison
equal
deleted
inserted
replaced
1058:9a26b3369ef0 | 1059:7d9ba468d4d0 |
---|---|
6 HELIX_BUILD_DIR=/tmp/helix | 6 HELIX_BUILD_DIR=/tmp/helix |
7 HELIX_INSTALL_DIR=$HOME/helix | 7 HELIX_INSTALL_DIR=$HOME/helix |
8 HELIX_DEFAULT_RUNTIME=$HELIX_INSTALL_DIR/runtime | 8 HELIX_DEFAULT_RUNTIME=$HELIX_INSTALL_DIR/runtime |
9 | 9 |
10 rm -rf $HELIX_BUILD_DIR | 10 rm -rf $HELIX_BUILD_DIR |
11 git clone https://github.com/zegervdv/helix $HELIX_BUILD_DIR | 11 mkdir -p $HELIX_BUILD_DIR |
12 curl -fsSL https://hg.vandevan.net/forks/helix/archive/94a4ac88506c.tar.gz | tar xzf - --strip-components=1 -C $HELIX_BUILD_DIR | |
12 cd $HELIX_BUILD_DIR | 13 cd $HELIX_BUILD_DIR |
13 | 14 |
14 git checkout 4fd6c35a9cc186a4feff6274233ee5f9442759c2 | |
15 pushd vendor | 15 pushd vendor |
16 bash setup.sh | 16 bash setup.sh |
17 popd | 17 popd |
18 | 18 |
19 {{ if (eq .chezmoi.osRelease.name "Ubuntu") }} $HOME/bin/mise x [email protected] -- {{ end }} cargo build --release --locked | 19 {{ if (eq .chezmoi.osRelease.name "Ubuntu") }} $HOME/bin/mise x [email protected] -- {{ end }} cargo build --release --locked |