提交 968d5084 编写于 作者: R Ryan Dahl

Rename project to deno_std

Move typescript files to net/

Original: https://github.com/denoland/deno_std/commit/99e276eb89fbe0003bfa8d9e7b907ff3ef19ee47
上级 6e077e71
# 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:
......
#!/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";
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册