From 465a265d4e56cd3b9c86e9f99e561952388d72d1 Mon Sep 17 00:00:00 2001 From: Jacob Heider Date: Mon, 18 Dec 2023 17:53:00 -0500 Subject: [PATCH] fix(zsh-syntax-highlighting) forgot the important bit --- .../zsh-syntax-highlighting/package.yml | 16 +++++----------- 1 file changed, 5 insertions(+), 11 deletions(-) diff --git a/projects/github.com/zsh-users/zsh-syntax-highlighting/package.yml b/projects/github.com/zsh-users/zsh-syntax-highlighting/package.yml index 7bda2320..21950f04 100644 --- a/projects/github.com/zsh-users/zsh-syntax-highlighting/package.yml +++ b/projects/github.com/zsh-users/zsh-syntax-highlighting/package.yml @@ -7,21 +7,15 @@ versions: build: script: - - make --jobs {{ hw.concurrency }} install + - make --jobs {{ hw.concurrency }} install PREFIX="{{prefix}}" # Users need to source this in their zsh configs # - export ZSH_HIGHLIGHTING={{prefix}}/share/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh # TODO: #2008 # - gum format "# *Finish the install by running*" '## `echo "source '$ZSH_HIGHLIGHTING'" >> $HOME/.zshrc`' | gum format # Use tests provided by the highlighter for test - - | - mkdir {{prefix}}/share/zsh-syntax-highlighting/tests {{prefix}}/share/zsh-syntax-highlighting/highlighters/main/test-data - cp -r ./tests/* {{prefix}}/share/zsh-syntax-highlighting/tests - cp ./highlighters/main/test-data/alias-basic.zsh {{prefix}}/share/zsh-syntax-highlighting/highlighters/main/test-data - env: - ARGS: - - --prefix="{{prefix}}" + - mkdir {{prefix}}/share/zsh-syntax-highlighting/tests {{prefix}}/share/zsh-syntax-highlighting/highlighters/main/test-data + - cp -r ./tests/* {{prefix}}/share/zsh-syntax-highlighting/tests + - cp ./highlighters/main/test-data/alias-basic.zsh {{prefix}}/share/zsh-syntax-highlighting/highlighters/main/test-data -test: | - chmod +x ./fixture.sh - ./fixture.sh {{prefix}}/share/zsh-syntax-highlighting +test: ./fixture.sh {{prefix}}/share/zsh-syntax-highlighting