Skip to content

Commit

Permalink
Rename deno_nosnapshot to deno_ns.
Browse files Browse the repository at this point in the history
  • Loading branch information
ry committed Jul 18, 2018
1 parent b892188 commit 3dde880
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 5 deletions.
4 changes: 2 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 changes: 3 additions & 2 deletions BUILD.gn
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ group("all") {
testonly = true
deps = [
":deno",
":deno_nosnapshot",
":deno_ns",
":handlers_test",
":test_cc",
]
Expand Down Expand Up @@ -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",
Expand Down
2 changes: 1 addition & 1 deletion src/from_filesystem.cc
Original file line number Diff line number Diff line change
Expand Up @@ -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));
Expand Down

0 comments on commit 3dde880

Please sign in to comment.