vibebox 0.2.0

Ultrafast CLI on Apple Silicon macOS for fast, sandboxed development and LLM agents.
1
2
3
4
5
6
7
8
9
10
11
12
use std::process::Command;

fn main() {
    let sha = Command::new("git")
        .args(["rev-parse", "--short", "HEAD"])
        .output()
        .map(|o| String::from_utf8_lossy(&o.stdout).trim().to_string())
        .unwrap_or_else(|_| "unknown".into());

    println!("cargo:rustc-env=GIT_SHA={sha}");
    println!("cargo:rerun-if-changed=.git/HEAD");
}