git-prism 0.8.0

Agent-optimized git data MCP server — structured change manifests and full file snapshots for LLM agents
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
fn main() {
    let kotlin_dir = std::path::Path::new("vendor/tree-sitter-kotlin/src");

    let mut config = cc::Build::new();
    config.include(kotlin_dir);
    config
        .flag_if_supported("-Wno-unused-parameter")
        .flag_if_supported("-Wno-unused-but-set-variable")
        .flag_if_supported("-Wno-trigraphs");
    config.file(kotlin_dir.join("parser.c"));
    config.file(kotlin_dir.join("scanner.c"));
    config.compile("tree_sitter_kotlin");

    println!("cargo:rerun-if-changed=vendor/tree-sitter-kotlin/src/parser.c");
    println!("cargo:rerun-if-changed=vendor/tree-sitter-kotlin/src/scanner.c");
}