diff options
author | Ryan Dahl <ry@tinyclouds.org> | 2020-01-23 16:32:52 -0500 |
---|---|---|
committer | Bartek IwaĆczuk <biwanczuk@gmail.com> | 2020-01-23 22:32:52 +0100 |
commit | 74e6eb14dd4697ba8bf52e044af0e7dfef49e441 (patch) | |
tree | 8d2729ad1b89f8e1de52c81de1b00c4a1328fd7e /cli | |
parent | 5a658a2ff758faef4a3d864ba0b2324fa731dfcc (diff) |
update readmes (#3765)
Diffstat (limited to 'cli')
-rw-r--r-- | cli/README.md | 8 | ||||
-rw-r--r-- | cli/js/net_test.ts | 3 |
2 files changed, 11 insertions, 0 deletions
diff --git a/cli/README.md b/cli/README.md new file mode 100644 index 000000000..778b279ec --- /dev/null +++ b/cli/README.md @@ -0,0 +1,8 @@ +# Deno CLI Crate + +[](https://crates.io/crates/deno) +[](https://docs.rs/deno) + +This provides the actual deno executable and the user-facing APIs. + +The deno crate uses the deno_core and deno_typescript to provide the executable. diff --git a/cli/js/net_test.ts b/cli/js/net_test.ts index e4d0be81f..7f5334df3 100644 --- a/cli/js/net_test.ts +++ b/cli/js/net_test.ts @@ -1,5 +1,6 @@ // Copyright 2018-2020 the Deno authors. All rights reserved. MIT license. import { testPerm, assert, assertEquals } from "./test_util.ts"; +import { runIfMain } from "../../std/testing/mod.ts"; testPerm({ net: true }, function netListenClose(): void { const listener = Deno.listen({ hostname: "127.0.0.1", port: 4500 }); @@ -239,3 +240,5 @@ testPerm({ net: true }, async function netDoubleCloseWrite() { conn.close(); }); */ + +runIfMain(import.meta); |