搜尋套件、儲存庫與 APP 分類

套件詳情v1.2.2

scratch_space

一個用於在 package:build 中管理正在執行的外部可執行檔的工具。

AndroidiOSmacOSWindowsLinux
近 30 天下載
24.6萬
喜歡數
9
Pub 分數
150

安裝套件

flutter pub add scratch_space

套件介紹

根據套件公開資料產生的選型評估,僅供參考。

ScratchSpace 是一個 Dart 套件,專為在 package:build 的建構過程中管理外部執行檔而設計。它提供了一個安全、隔離的環境來執行命令,確保執行過程乾淨且避免建構之間的衝突。該套件會自動處理暫存檔案管理、程序隔離與清除工作,非常適合需要外部二進位檔的建構時工具。它支援 Android、iOS、macOS、Windows 與 Linux 多個平台,能在不同開發環境中實現一致的行為。

適用情境

  • 執行自定義建構腳本
  • 在編譯期間執行外部工具
  • 管理暫時建構工件
  • 整合第三方 CLI 工具
  • 確保隔離的建構環境

主要特色

  • 自動進程隔離
  • 安全的暫時檔案處理
  • 跨平台相容性
  • 內建的資源清理
  • 與 package:build 的無縫整合

適合對象

  • 建構系統開發者
  • 工具作者
  • CI/CD 流水線整合商
  • Dart 包維護者

使用建議

  • 需要 package:build 集成
  • 僅限建構時使用案例
  • 可能需要特定平台的設定
  • 不打算用於執行時執行

原始 README

以下為關聯原始碼儲存庫的 README 原文快照,最新內容請造訪原始碼儲存庫。

Questions? Suggestions? Found a bug? Please file an issue or start a discussion.

Code generation for Flutter and Dart packages.

See the build_runner package documentation for how to use build_runner builders in your package to add serialization, data classes, data binding, dependency injection, mocking and more.

See the build package documentation to create your own builder.

This repo also hosts the following builders and packages for use by builders.

所屬分類

依賴

依賴清單 4 項

原始碼儲存庫

使用此套件的專案

暫無相關資料。