From 151ce0266eb4de2c8fc600c81c192a5f791b6169 Mon Sep 17 00:00:00 2001 From: Ryan Dahl Date: Wed, 9 Oct 2019 17:10:09 -0400 Subject: Move everything into std subdir --- std/bundle/run.ts | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 std/bundle/run.ts (limited to 'std/bundle/run.ts') diff --git a/std/bundle/run.ts b/std/bundle/run.ts new file mode 100644 index 000000000..fb848a671 --- /dev/null +++ b/std/bundle/run.ts @@ -0,0 +1,11 @@ +// Copyright 2018-2019 the Deno authors. All rights reserved. MIT license. + +import { evaluate, instantiate, load } from "./utils.ts"; + +async function main(args: string[]): Promise { + const text = await load(args); + const result = evaluate(text); + instantiate(...result); +} + +main(Deno.args); -- cgit v1.2.3