Skip to content

Commit

Permalink
Add nvm for testing
Browse files Browse the repository at this point in the history
  • Loading branch information
niheaven committed Sep 26, 2019
1 parent 852adf5 commit 756421f
Show file tree
Hide file tree
Showing 2 changed files with 80 additions and 0 deletions.
37 changes: 37 additions & 0 deletions bucket/nvm-array.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
{
"homepage": "https://github.com/coreybutler/nvm-windows",
"version": "1.1.7",
"url": "https://github.com/coreybutler/nvm-windows/releases/download/1.1.7/nvm-noinstall.zip",
"bin": "nvm.exe",
"persist": [
"nodejs",
[
"elevate.cmd",
"nodejs\\elevate.cmd"
],
[
"elevate.vbs",
"nodejs\\elevate.vbs"
],
[
"settings.txt",
"",
"root: $persist_dir\\nodejs`r`narch: $architecture`r`nproxy: none"
]
],
"env_add_path": "nodejs\\nodejs",
"env_set": {
"NVM_HOME": "$dir",
"NVM_SYMLINK": "$persist_dir\\nodejs\\nodejs"
},
"hash": "md5:00acf86e40c5f038cca8c383b9d2c207",
"notes": "You'll need to restart powershell/cmd to have it reload Environment Variables so nvm will work correctly",
"checkver": "github",
"autoupdate": {
"url": "https://github.com/coreybutler/nvm-windows/releases/download/$version/nvm-noinstall.zip",
"hash": {
"url": "$url.checksum.txt",
"find": "([a-fA-F0-9]{32})"
}
}
}
43 changes: 43 additions & 0 deletions bucket/nvm-object.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
{
"homepage": "https://github.com/coreybutler/nvm-windows",
"version": "1.1.7",
"url": "https://github.com/coreybutler/nvm-windows/releases/download/1.1.7/nvm-noinstall.zip",
"bin": "nvm.exe",
"persist": [
{
"name": "nodejs",
"type": "directory",
"method": "link"
},
{
"name": "elevate.cmd",
"type": "file",
"target": "nodejs\\elevate.cmd"
},
{
"name": "elevate.vbs",
"type": "file",
"target": "nodejs\\elevate.vbs"
},
{
"name": "settings.txt",
"type": "file",
"content": "root: $persist_dir\\nodejs`r`narch: $architecture`r`nproxy: none"
}
],
"env_add_path": "nodejs\\nodejs",
"env_set": {
"NVM_HOME": "$dir",
"NVM_SYMLINK": "$persist_dir\\nodejs\\nodejs"
},
"hash": "md5:00acf86e40c5f038cca8c383b9d2c207",
"notes": "You'll need to restart powershell/cmd to have it reload Environment Variables so nvm will work correctly",
"checkver": "github",
"autoupdate": {
"url": "https://github.com/coreybutler/nvm-windows/releases/download/$version/nvm-noinstall.zip",
"hash": {
"url": "$url.checksum.txt",
"find": "([a-fA-F0-9]{32})"
}
}
}

0 comments on commit 756421f

Please sign in to comment.