Skip to content

Commit

Permalink
fix: zunit bin output
Browse files Browse the repository at this point in the history
Signed-off-by: Vladislav Doster <[email protected]>
  • Loading branch information
vladdoster committed Dec 4, 2023
1 parent 1adae07 commit 24493e7
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions build.zsh
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,7 @@ setopt extendedglob warncreateglobal typesetsilent noshortloops
0="${${ZERO:-${0:#$ZSH_ARGZERO}}:-${(%):-%N}}"
0="${${(M)0:#/*}:-$PWD/$0}"

local ZUNIT_REPO_DIR="${0:h}"
local ZUNIT_BIN="$ZUNIT_REPO_DIR/zunit"
local ZUNIT_BIN="${${0:h}:A}/zunit"


# Clear the file to start with
Expand All @@ -29,4 +28,4 @@ cat ${ZUNIT_BIN:h}/src/zunit.zsh | grep -v -E '^(\s*#.*[^"]|\s*)$' >> "$ZUNIT_BI
chmod u+x "$ZUNIT_BIN"

# Let the user know we're finished
echo "\033[0;32m==>\033[0;m ZUnit built successfully at \033[0;32m${ZUNIT_BIN}\033[0;m"
builtin print -Pr "==> %Bzunit built at ${(D)ZUNIT_BIN}%b"

0 comments on commit 24493e7

Please sign in to comment.