summaryrefslogtreecommitdiff
path: root/std/bundle/run.ts
blob: b5fc433c987580d4996fe54b98da6644a85eee4c (plain)
1
2
3
4
5
6
7
8
// Copyright 2018-2019 the Deno authors. All rights reserved. MIT license.

import { evaluate, instantiate, load } from "./utils.ts";

const args = Deno.args;
const text = await load(args);
const result = evaluate(text);
instantiate(...result);