spatialos-codegen 0.2.1

Codegen tool used with spatialos-macro and spatialos-sdk
Documentation
1
2
3
4
5
6
7
8
9
use spatialos_codegen::ASTBuilder;

fn main() {
    let schema = ASTBuilder::default()
        .with_directory("./examples/schema_old")
        .with_directory("./examples/schema")
        .build();
    let _result = schema.generate("./examples/test/src/generated", "generated");
}