Skip to content

Commit

Permalink
Add toolkit (#64)
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 -->

Adds a simple toolkit module that sets a temporary NUPM_xxx environment
variables for development to avoid messing up your own setup.
  • Loading branch information
kubouch authored Jan 28, 2024
1 parent a6c1e72 commit 46d2403
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions toolkit.nu
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
export-env {
$env.NUPM_HOME = ($env.FILE_PWD | path join _nupm_dev)
$env.NUPM_CACHE = ($env.FILE_PWD | path join _nupm_dev cache)
$env.NUPM_TEMP = ($env.FILE_PWD | path join _nupm_dev tmp)

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

0 comments on commit 46d2403

Please sign in to comment.