interoptopus_csharp 0.16.0-alpha.7

The C# backend for Interoptopus.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
use interoptopus_backends::template::pack_assets;
use std::fs::File;
use std::path::PathBuf;

fn main() {
    let out_path = PathBuf::from(std::env::var("OUT_DIR").unwrap()).join("templates.tar");
    let out_file = File::create(&out_path).unwrap();

    pack_assets(out_file, "templates/").unwrap();

    println!("cargo:rerun-if-changed=templates/");
}