Skip to content

Commit

Permalink
Add dev paths to PATH and NU_LIB_DIRS in toolkit (#65)
Browse files Browse the repository at this point in the history
<!-- related issues, e.g. "will close #123" -->

## Description
<!-- describe in a few words the changes -->
  • Loading branch information
kubouch authored Jan 28, 2024
1 parent 46d2403 commit 80992b5
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 80992b5

Please sign in to comment.