Open hhstore opened 3 years ago
executables:
melos:
命令行传参方式:
核心:
官方常用:
server libs:
# by pub.dev
dart pub global activate <pub.dev package>
# by git
dart pub global activate --source git <Git URL>
dart pub global activate -sgit <Git URL>
# by local path:
dart pub global activate --source path ~/dart/stopwatch
# 示例:
dart pub global activate --source git https://github.com/dart-lang/async_await.git
dart pub global activate -sgit https://github.com/dart-lang/async_await.git
关键指名命令行工具的名称:
find:
init:
脚本:
https://pub.dev/packages/cli_pkg
已经实现了发布到 homebrew 的指令:
https://github.com/google/dart_cli_pkg/blob/main/doc/homebrew.md#pkg-homebrew-update
发布到 pub.dev:
dart pub global activate --source="path" . --executable="melos"
melos bootstrap
1
1
1
xxxxxxxxxxxxxx | xxxxxxxxxxxxxx | xxxx |
---|---|---|
xxxxxxxxxxxxxx | xxxxxxxxxxxxxxxxxx | xxxxxxxxxx |
xxxxxxxxxxxxxx | xxxxxxxxxxxxxxxxxx | xxxxxxxxxx |
xxxxxxxxxxxxxx | xxxxxxxxxxxxxxxxxx | xxxxxxxxxx |
xxxxxxxxxxxxxx | xxxxxxxxxxxxxxxxxx | xxxxxxxxxx |
xxxxxxxxxxxxxx | xxxxxxxxxxxxxxxxxx | xxxxxxxxxx |
xxxxxxxxxxxxxx | xxxxxxxxxxxxxxxxxx | xxxxxxxxxx |
xxxxxxxxxxxxxx | xxxxxxxxxxxxxxxxxx | xxxxxxxxxx |
related: