1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-12-24 08:09:08 -05:00
denoland-deno/runtime/js.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

38 lines
970 B
Rust

// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license.
use deno_core::include_js_files;
use deno_core::Extension;
pub fn init() -> Extension {
Extension::builder()
.js(include_js_files!(
prefix "deno:runtime",
// Generated with:
// bash -c "cd runtime && ls js/*.js | sort"
"js/01_build.js",
"js/01_errors.js",
"js/01_version.js",
"js/01_web_util.js",
"js/06_util.js",
"js/10_permissions.js",
"js/11_workers.js",
"js/12_io.js",
"js/13_buffer.js",
"js/30_fs.js",
"js/30_os.js",
"js/40_diagnostics.js",
"js/40_files.js",
"js/40_fs_events.js",
"js/40_http.js",
"js/40_process.js",
"js/40_read_file.js",
"js/40_signals.js",
"js/40_spawn.js",
"js/40_testing.js",
"js/40_tty.js",
"js/40_write_file.js",
"js/41_prompt.js",
"js/90_deno_ns.js",
"js/99_main.js",
))
.build()
}