Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: modify justfile to use internal function instead of which #35

Open
wants to merge 3 commits into
base: lagrange
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 9 additions & 9 deletions .justfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,15 @@ default:
@just --list

info:
@echo JUST PATH: `which just`
@echo GIT PATH: `which git`
@echo CARGO PATH: `which cargo`
@echo GREP PATH: `which grep`
@echo XARGS PATH: `which xargs`
@echo TYPOS PATH: `which typos`
@echo DENO PATH: `which deno`
@echo TAPLO PATH: `which taplo`
@echo SHFMT PATH: `which shfmt`
@echo JUST PATH: '{{ just_executable() }}'
@echo GIT PATH: '{{ require(if os_family() == "windows" { "git.exe" } else { "git" }) }}'
@echo CARGO PATH: '{{ require(if os_family() == "windows" { "cargo.exe" } else { "cargo" }) }}'
@echo GREP PATH: '{{ require(if os_family() == "windows" { "grep.exe" } else { "grep" }) }}'
@echo XARGS PATH: '{{ require(if os_family() == "windows" { "xargs.exe" } else { "xargs" }) }}'
@echo TYPOS PATH: '{{ require(if os_family() == "windows" { "typos.exe" } else { "typos" }) }}'
@echo DENO PATH: '{{ require(if os_family() == "windows" { "deno.exe" } else { "deno" }) }}'
@echo TAPLO PATH: '{{ require(if os_family() == "windows" { "taplo.exe" } else { "taplo" }) }}'
@echo SHFMT PATH: '{{ require(if os_family() == "windows" { "shfmt.exe" } else { "shfmt" }) }}'

check: info typoCheck fmtCheck clippyCheck buildCheck docCheck testCheck

Expand Down
Loading