Skip to content

Latest commit

 

History

History
54 lines (38 loc) · 914 Bytes

File metadata and controls

54 lines (38 loc) · 914 Bytes

Core

CoreのHowToBuild_Ja.mdを参照

必須

  • rustup 1.21.1 (13979c968 2019-10-16)

サブモジュール取得

$ git submodule update --init

ビルド

$ cargo build # Debug
$ cargo build --release # Release

フォーマット

コミットの前に実行する

$ cargo fmt

インストール: rustup component add rustfmt

Example生成

examples/以下を編集したら実行する

$ python scripts/generate_example.py

Rust Docs生成

$ cargo rustdoc

なお、 docs/contents以下のMarkdownファイルを編集したら以下を実行する

$ python scripts/generate_docs.py

Binding生成

commitするのでmaintainerが行う

$ python scripts/copy_cbg.py
$ python scripts/generate_binding.py