1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-11-30 16:40:57 -05:00

Rename project to deno_std

Move typescript files to net/
This commit is contained in:
Ryan Dahl 2018-12-18 18:25:49 -05:00
parent 6f2811c275
commit 99e276eb89
14 changed files with 8 additions and 9 deletions

View file

@ -1,6 +1,6 @@
# Deno Networking Libraries
# Deno Standard Modules
[![Build Status](https://travis-ci.com/denoland/deno_net.svg?branch=master)](https://travis-ci.com/denoland/deno_net)
[![Build Status](https://travis-ci.com/denoland/deno_std.svg?branch=master)](https://travis-ci.com/denoland/deno_std)
Usage:

13
test.ts Normal file → Executable file
View file

@ -1,13 +1,14 @@
#!/usr/bin/env deno --allow-run --allow-net
import { run } from "deno";
import "./bufio_test.ts";
import "./http_test.ts";
import "./textproto_test.ts";
import { runTests, completePromise } from "./file_server_test.ts";
import "net/bufio_test.ts";
import "net/http_test.ts";
import "net/textproto_test.ts";
import { runTests, completePromise } from "net/file_server_test.ts";
// file server test
const fileServer = run({
args: ["deno", "--allow-net", "file_server.ts", "."]
args: ["deno", "--allow-net", "net/file_server.ts", "."]
});
// I am also too lazy to do this properly LOL
runTests(new Promise(res => setTimeout(res, 5000)));
@ -15,5 +16,3 @@ runTests(new Promise(res => setTimeout(res, 5000)));
await completePromise;
fileServer.close();
})();
// TODO import "./http_test.ts";