mcpField
D
discovering-make-commands

discovering-make-commands

github.com/streamlit开发46.2k112 次安装今天更新
代码仓库

关于 discovering-make-commands

介绍 Streamlit 仓库根目录可执行的 `make` 命令的参考技能,列出命令及其用途,帮助开发者查找构建、依赖和代码生成相关任务。

主要功能

  1. 01列出可用的 make 命令
  2. 02简述命令用途

适用场景

  1. 01查找仓库中的构建命令
  2. 02了解依赖安装和清理任务

安装

复制下面的命令,在终端中运行。

$npx skills add https://github.com/streamlit/streamlit --skill discovering-make-commands

安装后在 Claude Code 中输入/discovering-make-commands确认已加载。

详细介绍

可用的 make 命令

以下是可在仓库根目录中执行的所有 make 命令列表:

help                      Show all available make commands.
all                       Install all dependencies, build frontend, and install editable Streamlit.
all-dev                   Install all dependencies and editable Streamlit, but do not build the frontend.
init                      Install all dependencies and build protobufs.
clean                     Remove all generated files.
protobuf                  Recompile Protobufs for Python and the frontend.
protobuf-lint             Lint and check formatting of protobuf files (buf).
protobuf-format           Format protobuf files (buf).
python-init               Install Python dependencies and Streamlit in editable mode.
python-lint               Lint and check formatting of Python files.
python-format             Format Python files.
python-tests              Run Python unit tests.
python-performance-tests  Run Python performance tests.
python-integration-tests  Run Python integration tests. Requires `PYTHON_DEPENDENCY_GROUP=integration make python-init` first.
python-types              Run the Python type checker.
frontend-init             Install all frontend dependencies.
frontend                  Build the frontend.
frontend-with-profiler    Build the frontend with the profiler enabled.
frontend-fast             Build the frontend (as fast as possible).
frontend-dev              Start the frontend development server.
debug                     Start Streamlit and Vite dev server for debugging. Use via `make debug my-script.py`.
frontend-lint             Lint and check formatting of frontend files.
frontend-types            Run the frontend type checker.
frontend-format           Format frontend files.
frontend-tests            Run frontend unit tests and generate coverage report.
frontend-knip             Run Knip unused-export and unused-dependency analysis.
frontend-typesync         Check for unsynced frontend types.
update-frontend-typesync  Installs missing typescript typings for dependencies.
update-snapshots          Update e2e playwright snapshots based on the latest completed CI run.
update-snapshots-changed  Update e2e playwright snapshots of changed e2e files based on the latest completed CI run.
update-material-icons     Update material icons based on latest Google material symbol version.
update-emojis             Update emojis from Unicode's latest emoji-test.txt.
update-notices            Update the notices file (licenses of frontend assets and dependencies).
update-headers            Update all license headers.
update-min-deps           Update minimum dependency constraints file.
debug-e2e-test            Run a playwright e2e test in debug mode. Use it via `make debug-e2e-test st_command_test.py`.
run-e2e-test              Run a playwright e2e test. Use it via `make run-e2e-test st_command_test.py`.
trace-e2e-test            Run e2e test with tracing and view it. Use via `make trace-e2e-test <test_file.py>::<test_func>`.
lighthouse-tests          Run Lighthouse performance tests.
bare-execution-tests      Run all e2e tests in bare mode.
cli-smoke-tests           Run CLI smoke tests.
check                     Run all checks (format, lint, types, unit tests) on changed files only. Useful to verify the current state of the codebase before committing.
autofix                   Autofix linting and formatting errors.
package                   Create Python wheel files in `dist/`.

评论

支持 Markdown