Add long options for path (#10775)

This commit is contained in:
Hofer-Julian
2023-10-19 22:07:01 +02:00
committed by GitHub
parent 4fd2b702ee
commit 11480c77be
8 changed files with 27 additions and 26 deletions

View File

@ -6,7 +6,7 @@ print '-------------------------------------------------------------------'
warning "./scripts/build-all.nu will be deprecated, please use the `toolkit build` command instead"
let repo_root = ($env.CURRENT_FILE | path dirname -n 2)
let repo_root = ($env.CURRENT_FILE | path dirname --num-levels 2)
def build-nushell [] {
print $'(char nl)Building nushell'

View File

@ -4,7 +4,7 @@ use std log warning
warning "./scripts/coverage-local.nu will be deprecated, please use the `toolkit cov` command instead"
def compute-coverage [] {
cd ($env.CURRENT_FILE | path dirname -n 2)
cd ($env.CURRENT_FILE | path dirname --num-levels 2)
print "Setting up environment variables for coverage"
# Enable LLVM coverage tracking through environment variables