summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRyan Dahl <ry@tinyclouds.org>2018-07-17 00:41:25 -0400
committerRyan Dahl <ry@tinyclouds.org>2018-07-18 15:43:50 -0400
commit3dde880c328c2bf51334f014fdaf772cfed7e8ea (patch)
tree4fd8b577226760559b93b3d13e809ffe894bdb4c
parentb892188878fd5a1a38a45d1c2e892c41be240ca0 (diff)
Rename deno_nosnapshot to deno_ns.
-rw-r--r--.travis.yml4
-rw-r--r--BUILD.gn5
-rw-r--r--src/from_filesystem.cc2
3 files changed, 6 insertions, 5 deletions
diff --git a/.travis.yml b/.travis.yml
index 1549df3f4..f0aa43c6c 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -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
diff --git a/BUILD.gn b/BUILD.gn
index 9c2fe5c1d..53d0e517e 100644
--- a/BUILD.gn
+++ b/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",
diff --git a/src/from_filesystem.cc b/src/from_filesystem.cc
index b8854c6ff..bf63ef46f 100644
--- a/src/from_filesystem.cc
+++ b/src/from_filesystem.cc
@@ -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));