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 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/`.

來自 streamlit 的更多技能

building-streamlit-custom-components-v2
streamlit
Builds bidirectional Streamlit Custom Components v2 (CCv2) using `st.components.v2.component`. Use when authoring inline HTML/CSS/JS components or packaged…
creating-streamlit-themes
streamlit
建立並自訂 Streamlit 主題。適用於變更應用程式的顏色、字型或外觀,或使應用程式符合品牌規範。涵蓋 config.toml…
developing-with-streamlit
streamlit
**[必要]** 適用於所有 Streamlit 任務:建立、編輯、除錯、美化、樣式設定、主題設計或最佳化 Streamlit 應用程式。亦為必要…
building-streamlit-custom-components-v2
streamlit
Builds bidirectional Streamlit Custom Components v2 (CCv2) using `st.components.v2.component`. Use when authoring inline HTML/CSS/JS components or packaged…
connecting-streamlit-to-snowflake
streamlit
將 Streamlit 應用程式連接到 Snowflake。適用於設定資料庫連線、管理機密資訊,或從 Streamlit 應用程式查詢 Snowflake 時使用。
creating-streamlit-themes
streamlit
建立與自訂Streamlit主題。用於變更應用程式顏色、字型或外觀,或使應用程式符合品牌規範。涵蓋config.toml…
optimizing-streamlit-performance
streamlit
優化 Streamlit 應用程式效能。適用於應用程式執行緩慢、過於頻繁重新執行或載入大量內容時。涵蓋快取、片段以及靜態與動態…
organizing-streamlit-code
streamlit
為了可維護性而組織 Streamlit 程式碼。在將應用程式結構化為獨立模組和工具時使用。涵蓋關注點分離、保持 UI 程式碼…