1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-12-22 15:24:46 -05:00
denoland-deno/snapshots/build.rs
Aaron O'Mullan fd5a12d7e2
refactor(snapshots): to their own crate (#14794)
Co-authored-by: Bartek Iwańczuk <biwanczuk@gmail.com>
2022-06-24 15:04:45 +02:00

10 lines
356 B
Rust

// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license.
mod build_runtime;
mod build_tsc;
fn main() {
let out_dir = std::path::PathBuf::from(std::env::var_os("OUT_DIR").unwrap());
build_runtime::create_runtime_snapshot(&out_dir.join("CLI_SNAPSHOT.bin"));
build_tsc::create_tsc_snapshot(&out_dir.join("COMPILER_SNAPSHOT.bin"));
}