mirror of
https://github.com/denoland/deno.git
synced 2024-12-22 23:34:47 -05:00
Rename deno_nosnapshot to deno_ns.
This commit is contained in:
parent
b892188878
commit
3dde880c32
3 changed files with 6 additions and 5 deletions
|
@ -49,5 +49,5 @@ script:
|
|||
- $BUILD_PATH/handlers_test
|
||||
- $BUILD_PATH/deno ./testdata/001_hello.js
|
||||
- $BUILD_PATH/deno ./testdata/002_hello.ts
|
||||
- $BUILD_PATH/deno_nosnapshot ./testdata/001_hello.js
|
||||
- $BUILD_PATH/deno_nosnapshot ./testdata/002_hello.ts
|
||||
- $BUILD_PATH/deno_ns ./testdata/001_hello.js
|
||||
- $BUILD_PATH/deno_ns ./testdata/002_hello.ts
|
||||
|
|
5
BUILD.gn
5
BUILD.gn
|
@ -8,7 +8,7 @@ group("all") {
|
|||
testonly = true
|
||||
deps = [
|
||||
":deno",
|
||||
":deno_nosnapshot",
|
||||
":deno_ns",
|
||||
":handlers_test",
|
||||
":test_cc",
|
||||
]
|
||||
|
@ -36,7 +36,8 @@ rust_executable("deno") {
|
|||
# This target is for fast incremental development.
|
||||
# When modifying the javascript runtime, this target will not go through the
|
||||
# extra process of building a snapshot and instead load the bundle from disk.
|
||||
rust_executable("deno_nosnapshot") {
|
||||
# ns = no snapshot
|
||||
rust_executable("deno_ns") {
|
||||
source_root = "src/main.rs"
|
||||
extern = [
|
||||
"$rust_build:libc",
|
||||
|
|
|
@ -15,7 +15,7 @@
|
|||
namespace deno {
|
||||
|
||||
Deno* NewFromFileSystem(void* data, deno_recv_cb cb) {
|
||||
printf("Reading javascript runtime bundle from " BUNDLE_LOCATION "\n");
|
||||
printf("load bundle " BUNDLE_LOCATION "\n");
|
||||
|
||||
std::string js_source;
|
||||
CHECK(deno::ReadFileToString(BUNDLE_LOCATION, &js_source));
|
||||
|
|
Loading…
Reference in a new issue