summaryrefslogtreecommitdiff
path: root/cli/js/build.ts
diff options
context:
space:
mode:
Diffstat (limited to 'cli/js/build.ts')
-rw-r--r--cli/js/build.ts19
1 files changed, 0 insertions, 19 deletions
diff --git a/cli/js/build.ts b/cli/js/build.ts
deleted file mode 100644
index 676e056eb..000000000
--- a/cli/js/build.ts
+++ /dev/null
@@ -1,19 +0,0 @@
-// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license.
-
-export const build = {
- target: "unknown",
- arch: "unknown",
- os: "unknown",
- vendor: "unknown",
- env: undefined as string | undefined,
-};
-
-export function setBuildInfo(target: string): void {
- const [arch, vendor, os, env] = target.split("-", 4);
- build.target = target;
- build.arch = arch;
- build.vendor = vendor;
- build.os = os;
- build.env = env;
- Object.freeze(build);
-}