summaryrefslogtreecommitdiff
path: root/cmd/main.go
diff options
context:
space:
mode:
Diffstat (limited to 'cmd/main.go')
-rw-r--r--cmd/main.go13
1 files changed, 13 insertions, 0 deletions
diff --git a/cmd/main.go b/cmd/main.go
new file mode 100644
index 000000000..585cd1259
--- /dev/null
+++ b/cmd/main.go
@@ -0,0 +1,13 @@
+// Copyright 2018 Ryan Dahl <ry@tinyclouds.org>
+// All rights reserved. MIT License.
+package main
+
+import (
+ "github.com/ry/deno"
+)
+
+func main() {
+ deno.Init()
+ deno.Eval("deno_main.js", "denoMain()")
+ deno.Loop()
+}