summaryrefslogtreecommitdiff
path: root/js
diff options
context:
space:
mode:
authorRyan Dahl <ry@tinyclouds.org>2019-03-30 14:45:36 -0400
committerGitHub <noreply@github.com>2019-03-30 14:45:36 -0400
commitc9614d86c190b98bd8f0df9e17272387c3bad1d5 (patch)
tree68d9054cabb8a829beac72024d48c37f0fce7321 /js
parentad3cbc50fb255f287a890a28f158f6842d335538 (diff)
Move //libdeno to //core/libdeno (#2015)
Fixes some sed errors introduced in c43cfe. Unfortunately moving libdeno required splitting build.rs into two parts, one for cli and one for core. I've also removed the arm64 build - it's complicating things at this re-org and we're not even testing it. I need to swing back to it and get tools/test.py running for it.
Diffstat (limited to 'js')
-rw-r--r--js/assets.ts2
-rw-r--r--js/chmod.ts2
-rw-r--r--js/compiler.ts2
-rw-r--r--js/copy_file.ts2
-rw-r--r--js/dir.ts2
-rw-r--r--js/dispatch.ts2
-rw-r--r--js/errors.ts4
-rw-r--r--js/fetch.ts2
-rw-r--r--js/file_info.ts2
-rw-r--r--js/files.ts2
-rw-r--r--js/format_error.ts2
-rw-r--r--js/main.ts2
-rw-r--r--js/make_temp_dir.ts2
-rw-r--r--js/metrics.ts2
-rw-r--r--js/mkdir.ts2
-rw-r--r--js/net.ts2
-rw-r--r--js/os.ts2
-rw-r--r--js/performance.ts2
-rw-r--r--js/permissions.ts2
-rw-r--r--js/process.ts2
-rw-r--r--js/read_dir.ts2
-rw-r--r--js/read_link.ts2
-rw-r--r--js/remove.ts2
-rw-r--r--js/rename.ts2
-rw-r--r--js/repl.ts2
-rw-r--r--js/resources.ts2
-rw-r--r--js/stat.ts2
-rw-r--r--js/symlink.ts2
-rw-r--r--js/timers.ts2
-rw-r--r--js/truncate.ts2
-rw-r--r--js/workers.ts2
31 files changed, 32 insertions, 32 deletions
diff --git a/js/assets.ts b/js/assets.ts
index 5f1790646..6e576c2d1 100644
--- a/js/assets.ts
+++ b/js/assets.ts
@@ -6,7 +6,7 @@
// There is a rollup plugin that will inline any module ending with `!string`
// Generated default library
-import libDts from "gen/lib/lib.deno_runtime.d.ts!string";
+import libDts from "gen/cli/lib/lib.deno_runtime.d.ts!string";
// Static libraries
import libEs2015Dts from "/third_party/node_modules/typescript/lib/lib.es2015.d.ts!string";
diff --git a/js/chmod.ts b/js/chmod.ts
index 3b14ef5bc..b26f78528 100644
--- a/js/chmod.ts
+++ b/js/chmod.ts
@@ -1,5 +1,5 @@
// Copyright 2018-2019 the Deno authors. All rights reserved. MIT license.
-import * as msg from "gen/msg_generated";
+import * as msg from "gen/cli/msg_generated";
import * as flatbuffers from "./flatbuffers";
import * as dispatch from "./dispatch";
diff --git a/js/compiler.ts b/js/compiler.ts
index 8be78935f..0f7070fd2 100644
--- a/js/compiler.ts
+++ b/js/compiler.ts
@@ -1,6 +1,6 @@
// Copyright 2018-2019 the Deno authors. All rights reserved. MIT license.
import * as ts from "typescript";
-import * as msg from "gen/msg_generated";
+import * as msg from "gen/cli/msg_generated";
import { window } from "./window";
import { assetSourceCode } from "./assets";
import { Console } from "./console";
diff --git a/js/copy_file.ts b/js/copy_file.ts
index a7792d588..a6ff9439e 100644
--- a/js/copy_file.ts
+++ b/js/copy_file.ts
@@ -1,5 +1,5 @@
// Copyright 2018-2019 the Deno authors. All rights reserved. MIT license.
-import * as msg from "gen/msg_generated";
+import * as msg from "gen/cli/msg_generated";
import * as flatbuffers from "./flatbuffers";
import * as dispatch from "./dispatch";
diff --git a/js/dir.ts b/js/dir.ts
index 8da72c16f..ccbbd2458 100644
--- a/js/dir.ts
+++ b/js/dir.ts
@@ -1,5 +1,5 @@
// Copyright 2018-2019 the Deno authors. All rights reserved. MIT license.
-import * as msg from "gen/msg_generated";
+import * as msg from "gen/cli/msg_generated";
import { assert } from "./util";
import * as flatbuffers from "./flatbuffers";
import { sendSync } from "./dispatch";
diff --git a/js/dispatch.ts b/js/dispatch.ts
index 3ca0cd799..528cf320c 100644
--- a/js/dispatch.ts
+++ b/js/dispatch.ts
@@ -1,7 +1,7 @@
// Copyright 2018-2019 the Deno authors. All rights reserved. MIT license.
import { core } from "./core";
import * as flatbuffers from "./flatbuffers";
-import * as msg from "gen/msg_generated";
+import * as msg from "gen/cli/msg_generated";
import * as errors from "./errors";
import * as util from "./util";
diff --git a/js/errors.ts b/js/errors.ts
index cefa4a863..42cff60db 100644
--- a/js/errors.ts
+++ b/js/errors.ts
@@ -1,6 +1,6 @@
// Copyright 2018-2019 the Deno authors. All rights reserved. MIT license.
-import { Base, ErrorKind } from "gen/msg_generated";
-export { ErrorKind } from "gen/msg_generated";
+import { Base, ErrorKind } from "gen/cli/msg_generated";
+export { ErrorKind } from "gen/cli/msg_generated";
/** A Deno specific error. The `kind` property is set to a specific error code
* which can be used to in application logic.
diff --git a/js/fetch.ts b/js/fetch.ts
index 355535dfe..e4262ea0a 100644
--- a/js/fetch.ts
+++ b/js/fetch.ts
@@ -2,7 +2,7 @@
import { assert, createResolvable, notImplemented, isTypedArray } from "./util";
import * as flatbuffers from "./flatbuffers";
import { sendAsync } from "./dispatch";
-import * as msg from "gen/msg_generated";
+import * as msg from "gen/cli/msg_generated";
import * as domTypes from "./dom_types";
import { TextDecoder, TextEncoder } from "./text_encoding";
import { DenoBlob, bytesSymbol as blobBytesSymbol } from "./blob";
diff --git a/js/file_info.ts b/js/file_info.ts
index deaafe5ea..0026d22c8 100644
--- a/js/file_info.ts
+++ b/js/file_info.ts
@@ -1,5 +1,5 @@
// Copyright 2018-2019 the Deno authors. All rights reserved. MIT license.
-import * as msg from "gen/msg_generated";
+import * as msg from "gen/cli/msg_generated";
/** A FileInfo describes a file and is returned by `stat`, `lstat`,
* `statSync`, `lstatSync`.
diff --git a/js/files.ts b/js/files.ts
index 9da9fbe0a..3a0297566 100644
--- a/js/files.ts
+++ b/js/files.ts
@@ -11,7 +11,7 @@ import {
SyncSeeker
} from "./io";
import * as dispatch from "./dispatch";
-import * as msg from "gen/msg_generated";
+import * as msg from "gen/cli/msg_generated";
import { assert } from "./util";
import * as flatbuffers from "./flatbuffers";
diff --git a/js/format_error.ts b/js/format_error.ts
index ebc579355..7cdbd72c3 100644
--- a/js/format_error.ts
+++ b/js/format_error.ts
@@ -1,5 +1,5 @@
// Copyright 2018-2019 the Deno authors. All rights reserved. MIT license.
-import * as msg from "gen/msg_generated";
+import * as msg from "gen/cli/msg_generated";
import * as flatbuffers from "./flatbuffers";
import { sendSync } from "./dispatch";
import { assert } from "./util";
diff --git a/js/main.ts b/js/main.ts
index 887d6b3c2..e7f7e284e 100644
--- a/js/main.ts
+++ b/js/main.ts
@@ -16,7 +16,7 @@ import { setLocation } from "./location";
import * as deno from "./deno";
// TODO(kitsonk) remove with `--types` below
-import libDts from "gen/lib/lib.deno_runtime.d.ts!string";
+import libDts from "gen/cli/lib/lib.deno_runtime.d.ts!string";
export default function denoMain(): void {
const startResMsg = os.start();
diff --git a/js/make_temp_dir.ts b/js/make_temp_dir.ts
index dc04522ee..ff754a3a8 100644
--- a/js/make_temp_dir.ts
+++ b/js/make_temp_dir.ts
@@ -1,5 +1,5 @@
// Copyright 2018-2019 the Deno authors. All rights reserved. MIT license.
-import * as msg from "gen/msg_generated";
+import * as msg from "gen/cli/msg_generated";
import * as flatbuffers from "./flatbuffers";
import * as dispatch from "./dispatch";
import { assert } from "./util";
diff --git a/js/metrics.ts b/js/metrics.ts
index c4ba14c7d..f00c1308d 100644
--- a/js/metrics.ts
+++ b/js/metrics.ts
@@ -1,5 +1,5 @@
// Copyright 2018-2019 the Deno authors. All rights reserved. MIT license.
-import * as msg from "gen/msg_generated";
+import * as msg from "gen/cli/msg_generated";
import * as flatbuffers from "./flatbuffers";
import { assert } from "./util";
import * as dispatch from "./dispatch";
diff --git a/js/mkdir.ts b/js/mkdir.ts
index 784d891f9..36a2b6622 100644
--- a/js/mkdir.ts
+++ b/js/mkdir.ts
@@ -1,5 +1,5 @@
// Copyright 2018-2019 the Deno authors. All rights reserved. MIT license.
-import * as msg from "gen/msg_generated";
+import * as msg from "gen/cli/msg_generated";
import * as flatbuffers from "./flatbuffers";
import * as dispatch from "./dispatch";
diff --git a/js/net.ts b/js/net.ts
index 0b56a4c30..e982d9455 100644
--- a/js/net.ts
+++ b/js/net.ts
@@ -1,6 +1,6 @@
// Copyright 2018-2019 the Deno authors. All rights reserved. MIT license.
import { ReadResult, Reader, Writer, Closer } from "./io";
-import * as msg from "gen/msg_generated";
+import * as msg from "gen/cli/msg_generated";
import { assert, notImplemented } from "./util";
import * as dispatch from "./dispatch";
import * as flatbuffers from "./flatbuffers";
diff --git a/js/os.ts b/js/os.ts
index 0ad107bf1..3ef75c003 100644
--- a/js/os.ts
+++ b/js/os.ts
@@ -1,5 +1,5 @@
// Copyright 2018-2019 the Deno authors. All rights reserved. MIT license.
-import * as msg from "gen/msg_generated";
+import * as msg from "gen/cli/msg_generated";
import { core } from "./core";
import { handleAsyncMsgFromRust, sendSync } from "./dispatch";
import * as flatbuffers from "./flatbuffers";
diff --git a/js/performance.ts b/js/performance.ts
index 73378b15c..b4d0fa43b 100644
--- a/js/performance.ts
+++ b/js/performance.ts
@@ -1,5 +1,5 @@
// Copyright 2018-2019 the Deno authors. All rights reserved. MIT license.
-import * as msg from "gen/msg_generated";
+import * as msg from "gen/cli/msg_generated";
import { sendSync } from "./dispatch";
import * as flatbuffers from "./flatbuffers";
import { assert } from "./util";
diff --git a/js/permissions.ts b/js/permissions.ts
index f4fe6826f..ded8ac305 100644
--- a/js/permissions.ts
+++ b/js/permissions.ts
@@ -1,5 +1,5 @@
// Copyright 2018-2019 the Deno authors. All rights reserved. MIT license.
-import * as msg from "gen/msg_generated";
+import * as msg from "gen/cli/msg_generated";
import * as flatbuffers from "./flatbuffers";
import * as dispatch from "./dispatch";
import { assert } from "./util";
diff --git a/js/process.ts b/js/process.ts
index 8ce83477a..7e31a1361 100644
--- a/js/process.ts
+++ b/js/process.ts
@@ -1,7 +1,7 @@
// Copyright 2018-2019 the Deno authors. All rights reserved. MIT license.
import * as dispatch from "./dispatch";
import * as flatbuffers from "./flatbuffers";
-import * as msg from "gen/msg_generated";
+import * as msg from "gen/cli/msg_generated";
import { File, close } from "./files";
import { ReadCloser, WriteCloser } from "./io";
diff --git a/js/read_dir.ts b/js/read_dir.ts
index 2515a61c6..9aa7c3375 100644
--- a/js/read_dir.ts
+++ b/js/read_dir.ts
@@ -1,5 +1,5 @@
// Copyright 2018-2019 the Deno authors. All rights reserved. MIT license.
-import * as msg from "gen/msg_generated";
+import * as msg from "gen/cli/msg_generated";
import * as flatbuffers from "./flatbuffers";
import * as dispatch from "./dispatch";
import { FileInfo, FileInfoImpl } from "./file_info";
diff --git a/js/read_link.ts b/js/read_link.ts
index b63fdd841..0e1a950f3 100644
--- a/js/read_link.ts
+++ b/js/read_link.ts
@@ -1,5 +1,5 @@
// Copyright 2018-2019 the Deno authors. All rights reserved. MIT license.
-import * as msg from "gen/msg_generated";
+import * as msg from "gen/cli/msg_generated";
import * as flatbuffers from "./flatbuffers";
import { assert } from "./util";
import * as dispatch from "./dispatch";
diff --git a/js/remove.ts b/js/remove.ts
index 1c9df6830..0bbfd913b 100644
--- a/js/remove.ts
+++ b/js/remove.ts
@@ -1,5 +1,5 @@
// Copyright 2018-2019 the Deno authors. All rights reserved. MIT license.
-import * as msg from "gen/msg_generated";
+import * as msg from "gen/cli/msg_generated";
import * as flatbuffers from "./flatbuffers";
import * as dispatch from "./dispatch";
diff --git a/js/rename.ts b/js/rename.ts
index 9d475f7e9..2bb83e966 100644
--- a/js/rename.ts
+++ b/js/rename.ts
@@ -1,5 +1,5 @@
// Copyright 2018-2019 the Deno authors. All rights reserved. MIT license.
-import * as msg from "gen/msg_generated";
+import * as msg from "gen/cli/msg_generated";
import * as flatbuffers from "./flatbuffers";
import * as dispatch from "./dispatch";
diff --git a/js/repl.ts b/js/repl.ts
index 068501873..350aff867 100644
--- a/js/repl.ts
+++ b/js/repl.ts
@@ -1,5 +1,5 @@
// Copyright 2018-2019 the Deno authors. All rights reserved. MIT license.
-import * as msg from "gen/msg_generated";
+import * as msg from "gen/cli/msg_generated";
import * as flatbuffers from "./flatbuffers";
import { assert } from "./util";
import { close } from "./files";
diff --git a/js/resources.ts b/js/resources.ts
index 2cabd26dc..f78fd0360 100644
--- a/js/resources.ts
+++ b/js/resources.ts
@@ -1,5 +1,5 @@
// Copyright 2018-2019 the Deno authors. All rights reserved. MIT license.
-import * as msg from "gen/msg_generated";
+import * as msg from "gen/cli/msg_generated";
import * as flatbuffers from "./flatbuffers";
import { assert } from "./util";
import * as dispatch from "./dispatch";
diff --git a/js/stat.ts b/js/stat.ts
index 9f99ab441..ed3e17d19 100644
--- a/js/stat.ts
+++ b/js/stat.ts
@@ -1,5 +1,5 @@
// Copyright 2018-2019 the Deno authors. All rights reserved. MIT license.
-import * as msg from "gen/msg_generated";
+import * as msg from "gen/cli/msg_generated";
import * as flatbuffers from "./flatbuffers";
import * as dispatch from "./dispatch";
import { assert } from "./util";
diff --git a/js/symlink.ts b/js/symlink.ts
index 74c1f74fe..f260620d6 100644
--- a/js/symlink.ts
+++ b/js/symlink.ts
@@ -1,5 +1,5 @@
// Copyright 2018-2019 the Deno authors. All rights reserved. MIT license.
-import * as msg from "gen/msg_generated";
+import * as msg from "gen/cli/msg_generated";
import * as flatbuffers from "./flatbuffers";
import * as dispatch from "./dispatch";
import * as util from "./util";
diff --git a/js/timers.ts b/js/timers.ts
index 4089d5f8b..e372f88c2 100644
--- a/js/timers.ts
+++ b/js/timers.ts
@@ -1,6 +1,6 @@
// Copyright 2018-2019 the Deno authors. All rights reserved. MIT license.
import { assert } from "./util";
-import * as msg from "gen/msg_generated";
+import * as msg from "gen/cli/msg_generated";
import * as flatbuffers from "./flatbuffers";
import { sendAsync, sendSync } from "./dispatch";
diff --git a/js/truncate.ts b/js/truncate.ts
index 2d700ab5d..c721404a1 100644
--- a/js/truncate.ts
+++ b/js/truncate.ts
@@ -1,5 +1,5 @@
// Copyright 2018-2019 the Deno authors. All rights reserved. MIT license.
-import * as msg from "gen/msg_generated";
+import * as msg from "gen/cli/msg_generated";
import * as flatbuffers from "./flatbuffers";
import * as dispatch from "./dispatch";
diff --git a/js/workers.ts b/js/workers.ts
index b2f4231c4..bdfbed640 100644
--- a/js/workers.ts
+++ b/js/workers.ts
@@ -1,6 +1,6 @@
// Copyright 2018-2019 the Deno authors. All rights reserved. MIT license.
import * as dispatch from "./dispatch";
-import * as msg from "gen/msg_generated";
+import * as msg from "gen/cli/msg_generated";
import * as flatbuffers from "./flatbuffers";
import { assert, log } from "./util";
import { window } from "./window";