File tree Expand file tree Collapse file tree 1 file changed +11
-0
lines changed
Expand file tree Collapse file tree 1 file changed +11
-0
lines changed Original file line number Diff line number Diff line change 33# and commit this file to your remote git repository to share the goodness with others.
44
55tasks :
6+ - name : Install Rust
7+ before : |
8+ # 這個做法有點 hacky⋯⋯讓 rustup 根據
9+ # rust-toolchain.toml 下載需要的版本。
10+ cargo -V
11+ gp sync-done rust-installation
12+
613 - name : Binding /bin/bash
714 before : |
815 # 將 /bin/sh 綁定為 /bin/bash (workaround 無法 scripts/check.sh 的問題)
916 sudo ln -fs /bin/bash /bin/sh
1017
1118 - name : Install cargo utilities
1219 init : |
20+ gp sync-await rust-installation
21+
1322 # 安裝 cargo-workspace 和 cargo-udeps
1423 cargo install cargo-workspace cargo-udeps
1524
1625 - name : Prebuild server-rust
1726 init : |
27+ gp sync-await rust-installation
28+
1829 # 組建檢查檔案,以及 development 和 release 的編譯檔案
1930 cargo check
2031 cargo build
You can’t perform that action at this time.
0 commit comments