Rush Stack商店部落格活動
跳到主要內容

開始使用

3 分鐘示範

想看看 Rush 的實際運作嗎?您唯一需要的前提條件是 NodeJS

從您的 Shell 中,像這樣安裝 Rush

npm install -g @microsoft/rush

如需命令列說明,請執行此操作

rush -h

若要查看 Rush 建置一些實際專案,請嘗試執行這些指令

git clone https://github.com/microsoft/rushstack
cd rushstack

# Install the NPM packages:
# (If you don't have a GitHub email configured, add the "--bypass-policy" option.)
rush update

# Incremental install:
rush update # <-- instantaneous!

# Force all projects to be rebuilt:
rush rebuild

# Incremental build:
rush build # <-- instantaneous!

# Use "--verbose" to view the console logs for each project as it is built.
# Projects build in parallel processes, but their logs are collated.
rush rebuild --verbose

讓我們開始吧!

選擇您的教學情境...