mirror of
https://github.com/RubyMetric/chsrc
synced 2025-08-12 23:27:34 +08:00
Add pl aliases
This commit is contained in:
parent
4da60f0c7d
commit
3c42e8be2d
@ -2,7 +2,7 @@
|
||||
* SPDX-License-Identifier: GPL-3.0-or-later
|
||||
* ------------------------------------------------------------*/
|
||||
|
||||
def_target(pl_clojure);
|
||||
def_target(pl_clojure, "clojure/clojars/cloj/lein");
|
||||
|
||||
void
|
||||
pl_clojure_prelude ()
|
||||
|
@ -2,7 +2,7 @@
|
||||
* SPDX-License-Identifier: GPL-3.0-or-later
|
||||
* ------------------------------------------------------------*/
|
||||
|
||||
def_target(pl_dart_flutter);
|
||||
def_target(pl_dart_flutter, "flutter");
|
||||
|
||||
void
|
||||
pl_dart_flutter_prelude (void)
|
||||
|
@ -2,7 +2,7 @@
|
||||
* SPDX-License-Identifier: GPL-3.0-or-later
|
||||
* ------------------------------------------------------------*/
|
||||
|
||||
def_target(pl_dart);
|
||||
def_target(pl_dart, "dart/pub");
|
||||
|
||||
void
|
||||
pl_dart_prelude (void)
|
||||
|
@ -16,7 +16,7 @@ GoProxyIO =
|
||||
{NotSkip, NA, NA, "https://goproxy.io/github.com/aws/aws-sdk-go/@v/v1.45.2.zip", ACCURATE} // 30 MB
|
||||
};
|
||||
|
||||
def_target(pl_go);
|
||||
def_target(pl_go, "go/golang/goproxy");
|
||||
|
||||
void
|
||||
pl_go_prelude ()
|
||||
|
@ -2,7 +2,7 @@
|
||||
* SPDX-License-Identifier: GPL-3.0-or-later
|
||||
* ------------------------------------------------------------*/
|
||||
|
||||
def_target(pl_haskell);
|
||||
def_target(pl_haskell, "haskell/cabal/stack/hackage");
|
||||
|
||||
void
|
||||
pl_haskell_prelude ()
|
||||
|
@ -2,7 +2,7 @@
|
||||
* SPDX-License-Identifier: GPL-3.0-or-later
|
||||
* ------------------------------------------------------------*/
|
||||
|
||||
def_target(pl_java);
|
||||
def_target(pl_java, "java/maven/mvn/gradle");
|
||||
|
||||
void
|
||||
pl_java_prelude ()
|
||||
|
@ -2,7 +2,7 @@
|
||||
* SPDX-License-Identifier: GPL-3.0-or-later
|
||||
* ------------------------------------------------------------*/
|
||||
|
||||
def_target(pl_js_bun);
|
||||
def_target(pl_js_bun, "bun");
|
||||
|
||||
void
|
||||
pl_js_bun_prelude (void)
|
||||
|
@ -2,7 +2,7 @@
|
||||
* SPDX-License-Identifier: GPL-3.0-or-later
|
||||
* ------------------------------------------------------------*/
|
||||
|
||||
def_target(pl_js_yarn);
|
||||
def_target(pl_js_yarn, "yarn");
|
||||
|
||||
void
|
||||
pl_js_yarn_prelude (void)
|
||||
|
@ -9,7 +9,7 @@ static MirrorSite_t NpmMirror =
|
||||
{SKIP, NULL, NULL, NULL, ACCURATE}
|
||||
};
|
||||
|
||||
def_target(pl_js_group);
|
||||
def_target(pl_js_group, "js/javascript/node/nodejs");
|
||||
|
||||
void
|
||||
pl_js_group_prelude (void)
|
||||
|
@ -2,7 +2,7 @@
|
||||
* SPDX-License-Identifier: GPL-3.0-or-later
|
||||
* ------------------------------------------------------------*/
|
||||
|
||||
def_target(pl_js_npm);
|
||||
def_target(pl_js_npm, "npm");
|
||||
|
||||
void
|
||||
pl_js_npm_prelude (void)
|
||||
|
@ -2,7 +2,7 @@
|
||||
* SPDX-License-Identifier: GPL-3.0-or-later
|
||||
* ------------------------------------------------------------*/
|
||||
|
||||
def_target(pl_js_nvm);
|
||||
def_target(pl_js_nvm, "nvm");
|
||||
|
||||
void
|
||||
pl_js_nvm_prelude (void)
|
||||
|
@ -2,7 +2,7 @@
|
||||
* SPDX-License-Identifier: GPL-3.0-or-later
|
||||
* ------------------------------------------------------------*/
|
||||
|
||||
def_target(pl_js_pnpm);
|
||||
def_target(pl_js_pnpm, "pnpm");
|
||||
|
||||
void
|
||||
pl_js_pnpm_prelude (void)
|
||||
|
@ -2,7 +2,7 @@
|
||||
* SPDX-License-Identifier: GPL-3.0-or-later
|
||||
* ------------------------------------------------------------*/
|
||||
|
||||
def_target(pl_julia);
|
||||
def_target(pl_julia, "julia");
|
||||
|
||||
void
|
||||
pl_julia_prelude ()
|
||||
|
@ -9,7 +9,7 @@ static MirrorSite_t Api7 =
|
||||
{SKIP, ToFill, ToFill, NULL, ROUGH}
|
||||
};
|
||||
|
||||
def_target(pl_lua);
|
||||
def_target(pl_lua, "lua/luarocks");
|
||||
|
||||
void
|
||||
pl_lua_prelude ()
|
||||
|
@ -2,7 +2,7 @@
|
||||
* SPDX-License-Identifier: GPL-3.0-or-later
|
||||
* ------------------------------------------------------------*/
|
||||
|
||||
def_target(pl_nuget);
|
||||
def_target(pl_nuget, "nuget/net/.net/dotnet");
|
||||
|
||||
void
|
||||
pl_nuget_prelude ()
|
||||
|
@ -2,7 +2,7 @@
|
||||
* SPDX-License-Identifier: GPL-3.0-or-later
|
||||
* ------------------------------------------------------------*/
|
||||
|
||||
def_target(pl_ocaml);
|
||||
def_target(pl_ocaml, "ocaml/opam");
|
||||
|
||||
void
|
||||
pl_ocaml_prelude ()
|
||||
|
@ -2,7 +2,7 @@
|
||||
* SPDX-License-Identifier: GPL-3.0-or-later
|
||||
* ------------------------------------------------------------*/
|
||||
|
||||
def_target(pl_php);
|
||||
def_target(pl_php, "php/composer");
|
||||
|
||||
void
|
||||
pl_php_prelude ()
|
||||
|
@ -2,7 +2,7 @@
|
||||
* SPDX-License-Identifier: GPL-3.0-or-later
|
||||
* ------------------------------------------------------------*/
|
||||
|
||||
def_target(pl_perl);
|
||||
def_target(pl_perl, "perl/cpan");
|
||||
|
||||
void
|
||||
pl_perl_prelude ()
|
||||
|
@ -2,7 +2,7 @@
|
||||
* SPDX-License-Identifier: GPL-3.0-or-later
|
||||
* ------------------------------------------------------------*/
|
||||
|
||||
def_target(pl_python_pdm);
|
||||
def_target(pl_python_pdm, "pdm");
|
||||
|
||||
void
|
||||
pl_python_pdm_prelude (void)
|
||||
|
@ -2,7 +2,7 @@
|
||||
* SPDX-License-Identifier: GPL-3.0-or-later
|
||||
* ------------------------------------------------------------*/
|
||||
|
||||
def_target(pl_python_poetry);
|
||||
def_target(pl_python_poetry, "poetry");
|
||||
|
||||
void
|
||||
pl_python_poetry_prelude (void)
|
||||
|
@ -4,7 +4,7 @@
|
||||
* 由于Rye已经有后继uv了,所以我们不把该管理器纳入Python group中
|
||||
* ------------------------------------------------------------*/
|
||||
|
||||
def_target(pl_python_rye);
|
||||
def_target(pl_python_rye, "rye");
|
||||
|
||||
void
|
||||
pl_python_rye_prelude (void)
|
||||
|
@ -4,7 +4,7 @@
|
||||
|
||||
#include "rawstr4c.h"
|
||||
|
||||
def_target(pl_python_group);
|
||||
def_target(pl_python_group, "python/pypi/py");
|
||||
|
||||
/**
|
||||
* @note 测速链接的这个前缀是 ${host}/pipi/web/pacakges/56/e4....
|
||||
|
@ -2,7 +2,7 @@
|
||||
* SPDX-License-Identifier: GPL-3.0-or-later
|
||||
* ------------------------------------------------------------*/
|
||||
|
||||
def_target(pl_python_pip);
|
||||
def_target(pl_python_pip, "pip");
|
||||
|
||||
void
|
||||
pl_python_pip_prelude (void)
|
||||
|
@ -2,7 +2,7 @@
|
||||
* SPDX-License-Identifier: GPL-3.0-or-later
|
||||
* ------------------------------------------------------------*/
|
||||
|
||||
def_target(pl_python_uv);
|
||||
def_target(pl_python_uv, "uv");
|
||||
|
||||
void
|
||||
pl_python_uv_prelude (void)
|
||||
|
@ -2,7 +2,7 @@
|
||||
* SPDX-License-Identifier: GPL-3.0-or-later
|
||||
* ------------------------------------------------------------*/
|
||||
|
||||
def_target(pl_r);
|
||||
def_target(pl_r, "r/cran");
|
||||
|
||||
void
|
||||
pl_r_prelude ()
|
||||
|
@ -9,7 +9,7 @@ static MirrorSite_t RubyChina =
|
||||
{NotSkip, NA, NA, "https://gems.ruby-china.com/rubygems/gems/nokogiri-1.15.0-java.gem", ACCURATE} // 9.9 MB
|
||||
};
|
||||
|
||||
def_target(pl_ruby);
|
||||
def_target(pl_ruby, "gem/ruby/rb/rubygem/rubygems/bundler");
|
||||
|
||||
void
|
||||
pl_ruby_prelude (void)
|
||||
|
@ -2,7 +2,7 @@
|
||||
* SPDX-License-Identifier: GPL-3.0-or-later
|
||||
* ------------------------------------------------------------*/
|
||||
|
||||
def_target(pl_rust_cargo);
|
||||
def_target(pl_rust_cargo, "rust/cargo/crate/crates");
|
||||
|
||||
void
|
||||
pl_rust_cargo_prelude (void)
|
||||
|
@ -5,7 +5,7 @@
|
||||
// Size: 20MB
|
||||
#define PL_Rustup_Speed_URL_Suffix
|
||||
|
||||
def_target(pl_rust_rustup);
|
||||
def_target(pl_rust_rustup, "rustup");
|
||||
|
||||
void
|
||||
pl_rust_rustup_prelude (void)
|
||||
|
@ -14,34 +14,34 @@
|
||||
TargetRegisterInfo_t
|
||||
chsrc_pl_menu[] =
|
||||
{
|
||||
{t(pl_ruby), "gem ruby rb rubygem rubygems bundler"},
|
||||
{t(pl_python_group), "python pypi py"},
|
||||
{t(pl_python_pip), "pip"},
|
||||
{t(pl_python_poetry), "poetry"},
|
||||
{t(pl_python_pdm), "pdm"},
|
||||
{t(pl_python_rye), "rye"},
|
||||
{t(pl_python_uv), "uv"},
|
||||
{t(pl_js_group), "node nodejs"},
|
||||
{t(pl_js_bun), "bun"},
|
||||
{t(pl_js_npm), "npm"},
|
||||
{t(pl_js_yarn), "yarn"},
|
||||
{t(pl_js_pnpm), "pnpm"},
|
||||
{t(pl_js_nvm), "nvm"},
|
||||
{t(pl_perl), "perl cpan"},
|
||||
{t(pl_php), "php composer"},
|
||||
{t(pl_lua), "lua luarocks"},
|
||||
{t(pl_go), "go golang goproxy"},
|
||||
{t(pl_rust_cargo), "rust cargo crate crates"},
|
||||
{t(pl_rust_rustup), "rustup"},
|
||||
{t(pl_java), "java maven mvn gradle"},
|
||||
{t(pl_clojure), "clojure clojars cloj lein"},
|
||||
{t(pl_dart), "dart pub"},
|
||||
{t(pl_dart_flutter), "flutter"},
|
||||
{t(pl_nuget), "nuget net .net dotnet"},
|
||||
{t(pl_haskell), "haskell cabal stack hackage"},
|
||||
{t(pl_ocaml), "ocaml opam"},
|
||||
{t(pl_r), "cran r"},
|
||||
{t(pl_julia), "julia"},
|
||||
{t(pl_ruby)},
|
||||
{t(pl_python_group)},
|
||||
{t(pl_python_pip)},
|
||||
{t(pl_python_poetry)},
|
||||
{t(pl_python_pdm)},
|
||||
{t(pl_python_rye)},
|
||||
{t(pl_python_uv)},
|
||||
{t(pl_js_group)},
|
||||
{t(pl_js_bun)},
|
||||
{t(pl_js_npm)},
|
||||
{t(pl_js_yarn)},
|
||||
{t(pl_js_pnpm)},
|
||||
{t(pl_js_nvm)},
|
||||
{t(pl_perl)},
|
||||
{t(pl_php)},
|
||||
{t(pl_lua)},
|
||||
{t(pl_go)},
|
||||
{t(pl_rust_cargo)},
|
||||
{t(pl_rust_rustup)},
|
||||
{t(pl_java)},
|
||||
{t(pl_clojure)},
|
||||
{t(pl_dart)},
|
||||
{t(pl_dart_flutter)},
|
||||
{t(pl_nuget)},
|
||||
{t(pl_haskell)},
|
||||
{t(pl_ocaml)},
|
||||
{t(pl_r)},
|
||||
{t(pl_julia)},
|
||||
};
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user