Users can also specify yarn

This commit is contained in:
Aoran Zeng 2023-09-27 14:39:01 +08:00
parent debc695194
commit 0c8ed09f4c
2 changed files with 4 additions and 4 deletions

View File

@ -104,7 +104,7 @@ chsrc set ruby rubychina # 使用 RubyChina 作为镜像站
```bash
chsrc set ruby 或 set gem
chsrc set python 或 set pip
chsrc set node 或 set npm / nodejs
chsrc set node 或 set npm / nodejs / yarn # 同时会为yarn换源
chsrc set perl 或 set cpan
chsrc set php 或 set composer

View File

@ -1714,9 +1714,9 @@ target_info
#define targetinfo(t) (const char*)t
static const char
*pl_ruby [] = {"gem", "ruby", "rb", "rubygems", NULL, targetinfo(&pl_ruby_target)},
*pl_python[] = {"pip", "python", "py", "pypi", NULL, targetinfo(&pl_python_target)},
*pl_nodejs[] = {"npm", "node", "js", "nodejs", NULL, targetinfo(&pl_nodejs_target)},
*pl_ruby [] = {"gem", "ruby", "rb", "rubygems", NULL, targetinfo(&pl_ruby_target)},
*pl_python[] = {"pip", "python", "py", "pypi", NULL, targetinfo(&pl_python_target)},
*pl_nodejs[] = {"npm", "node", "js", "nodejs", "yarn" NULL, targetinfo(&pl_nodejs_target)},
*pl_perl [] = {"perl", "cpan", NULL, targetinfo(&pl_perl_target)},
*pl_php [] = {"php", "composer", NULL, targetinfo(&pl_php_target)},
*pl_go [] = {"go", "golang", "goproxy", NULL, targetinfo(&pl_go_target)} ,