dolang-shell-modules 0.1.0

Stock embedded Do modules for the shell.
extern crate dolang_ext_shell;

use std::{env, path::Path};

use dolang_private_bundle::{Bundle, CompileMode, NameMode};

fn main() {
    let manifest_dir = env::var_os("CARGO_MANIFEST_DIR").unwrap();
    let out_dir = env::var_os("OUT_DIR").unwrap();

    dolang_private_bundle::bundle(&Bundle {
        source_root: &Path::new(&manifest_dir).join("lib"),
        out_dir: Path::new(&out_dir),
        output_name: "bundled_modules",
        table_name: "BUNDLED_MODULES",
        virtual_root: "/<bundled>",
        compile_mode: CompileMode::Module,
        name_mode: NameMode::Module,
    });
}