From b408ec5cdce4276557a34cbef8b4767893f161ff Mon Sep 17 00:00:00 2001 From: Jacob Heider Date: Tue, 20 Feb 2024 11:50:07 -0500 Subject: [PATCH] fix(brewkit) closes #5286 closes #5278 --- projects/pkgx.sh/brewkit/package.yml | 22 +++++++++++++++++----- 1 file changed, 17 insertions(+), 5 deletions(-) diff --git a/projects/pkgx.sh/brewkit/package.yml b/projects/pkgx.sh/brewkit/package.yml index b9b099a2..4646db85 100644 --- a/projects/pkgx.sh/brewkit/package.yml +++ b/projects/pkgx.sh/brewkit/package.yml @@ -15,12 +15,24 @@ dependencies: provides: - bin/bk -build: | - mkdir -p {{prefix}} +build: + script: + - mkdir -p {{prefix}} - for x in bin libexec lib share deno.*; do - test -e $x && mv $x "{{prefix}}" - done + - | + for x in $PARTS; do + test -e $x && cp -a $x "{{prefix}}" + done + env: + PARTS: + - bin + - libexec + - lib + - share + - deno.* + - audit + - build + - test test: # we can’t test builds since brewkit is not designed to be invoked