mirror of
https://github.com/ScoopInstaller/Main.git
synced 2025-11-04 15:51:23 +00:00
Persist cache (#1537)
* Persist cache * Add persistent global bin to yarn
This commit is contained in:
parent
ba072f3fe4
commit
c3b97385f9
13
yarn.json
13
yarn.json
@ -13,7 +13,18 @@
|
||||
},
|
||||
"url": "https://yarnpkg.com/downloads/0.24.6/yarn-0.24.6.msi",
|
||||
"hash": "00f1aab358abe90eaaeb66c31fdf7342822dfba96a781e6995ffb0d4c68ad330",
|
||||
"env_add_path": "Yarn\\bin",
|
||||
"persist": [
|
||||
"cache",
|
||||
"bin"
|
||||
],
|
||||
"post_install": "
|
||||
yarn config set cache \"$persist_dir\\cache\"
|
||||
yarn config set prefix \"$persist_dir\\bin\"
|
||||
",
|
||||
"env_add_path": [
|
||||
"bin",
|
||||
"Yarn\\bin"
|
||||
],
|
||||
"checkver": {
|
||||
"url": "https://yarnpkg.com/latest-version",
|
||||
"re": "([\\d.]+)"
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user