discovering-make-commands

作者: streamlit

列出Streamlit开发中可用的make命令。用于构建、测试、代码检查或格式化任务。

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

Available make commands

List of all make commands available for execution from the repository root folder:

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 with default reporter.
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 based on latest emoji version.
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/`.

来自 streamlit 的更多技能

developing-with-streamlit
streamlit
**[必需]** 用于所有Streamlit任务:创建、编辑、调试、美化、样式化、主题化或优化Streamlit应用。同样必需…
official
addressing-pr-review-comments
streamlit
处理当前分支在streamlit/streamlit仓库中PR上的所有有效审查评论,涵盖内联审查评论和一般PR(问题)评论……
official
checking-changes
streamlit
在提交前通过运行格式化、代码检查、类型检查和单元测试来验证所有代码变更。在完成后端(Python)或前端(TypeScript)修改后使用。
official
finalizing-pr
streamlit
通过简化代码、运行检查、审查变更并在需要时创建PR,最终确定分支变更以进行合并。在准备将变更合并到……时使用。
official
fixing-flaky-e2e-tests
streamlit
诊断并修复不稳定的Playwright端到端测试。当测试间歇性失败、出现超时错误、快照不匹配或表现出浏览器特定问题时使用…
official
fixing-streamlit-ci
streamlit
分析并修复当前分支/PR中失败的GitHub Actions CI任务。当CI检查失败、PR检查显示失败或需要诊断时使用…
official
generating-changelog
streamlit
在两个git标签之间生成用于docs.streamlit.io的精美网站发布说明。在准备新的Streamlit版本或审查变更时使用…
official
improving-frontend-coverage
streamlit
运行前端单元测试并生成覆盖率报告,分析覆盖率报告,并实施有意义的测试以将覆盖率提升约0.2%。当你想要……时使用。
official