ScoopInstaller_Main/rustup.json
2018-02-14 19:01:12 +01:00

35 lines
1.3 KiB
JSON

{
"version": "1.11.0",
"license": "MIT",
"hash": "b33a82c54199a427172fec8957760ae7c9a7b7a13b0814bdddb4438e7f88e801",
"homepage": "https://github.com/rust-lang-nursery/rustup.rs",
"checkver": {
"url": "https://raw.githubusercontent.com/rust-lang-nursery/rustup.rs/master/Cargo.toml",
"re": "version = \"(\\d+\\.\\d+\\.\\d+)\""
},
"url": "https://win.rustup.rs/#/rustup-init.exe",
"autoupdate": {
"url": "https://win.rustup.rs/#/rustup-init.exe"
},
"persist": [
".cargo",
".rustup"
],
"env_add_path": ".cargo\\bin",
"env_set": {
"CARGO_HOME": "$persist_dir\\.cargo",
"RUSTUP_HOME": "$persist_dir\\.rustup"
},
"installer": {
"script": "
# Create environment variables for this process
[Environment]::SetEnvironmentVariable('CARGO_HOME', \"$persist_dir\\.cargo\", 'Process')
[Environment]::SetEnvironmentVariable('RUSTUP_HOME', \"$persist_dir\\.rustup\", 'Process')
# Install Rustup
& \"$dir\\rustup-init.exe\" -y --no-modify-path --default-toolchain stable-gnu
"
},
"notes": "To use the MSVC ABI without Visual Studio 2015 (or higher) installed, you will need the Visual Studio 2017 Build Tools: https://www.visualstudio.com/downloads/#build-tools-for-visual-studio-2017"
}