Skip to content

Commit

Permalink
Add dev paths to PATH and NU_LIB_DIRS
Browse files Browse the repository at this point in the history
  • Loading branch information
kubouch committed Jan 28, 2024
1 parent 46d2403 commit 01729dd
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions toolkit.nu
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,12 @@ export-env {
$env.NUPM_CACHE = ($env.FILE_PWD | path join _nupm_dev cache)
$env.NUPM_TEMP = ($env.FILE_PWD | path join _nupm_dev tmp)

$env.PATH ++= [($env.FILE_PWD | path join _nupm_dev scripts)]
$env.NU_LIB_DIRS ++= [($env.FILE_PWD | path join _nupm_dev modules)]

print $'NUPM_HOME: ($env.NUPM_HOME)'
print $'NUPM_CACHE: ($env.NUPM_CACHE)'
print $'NUPM_TEMP: ($env.NUPM_TEMP)'
print $'PATH: ($env.PATH)'
print $'NU_LIB_DIRS: ($env.NU_LIB_DIRS)'
}

0 comments on commit 01729dd

Please sign in to comment.