summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorRyan Dahl <ry@tinyclouds.org>2018-05-23 16:45:01 -0400
committerRyan Dahl <ry@tinyclouds.org>2018-05-23 16:45:01 -0400
commit3171ba4c3ff4046aaca0d70321f1dfec4c0728bb (patch)
tree121a9946edcbe941b22aa347ae805c4dc6179b61 /Makefile
parentb2ca48a621b27aaa75693ff21f47a077d6886d4f (diff)
Add special deno module to public api
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile12
1 files changed, 9 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index ae67b1c37..1a31e3c08 100644
--- a/Makefile
+++ b/Makefile
@@ -1,20 +1,25 @@
TS_FILES = \
- tsconfig.json \
dispatch.ts \
+ globals.ts \
main.ts \
msg.pb.d.ts \
msg.pb.js \
os.ts \
runtime.ts \
+ test.js \
timers.ts \
+ tsconfig.json \
+ types.ts \
url.js \
util.ts \
- v8_source_maps.ts
+ v8_source_maps.ts \
+ v8worker2.d.ts
GO_FILES = \
assets.go \
deno_dir.go \
deno_dir_test.go \
+ echo.go \
dispatch.go \
main.go \
msg.pb.go \
@@ -23,11 +28,12 @@ GO_FILES = \
timers.go \
util.go
-deno: $(GO_FILES)
+deno: msg.pb.go $(GO_FILES)
go build -o deno
assets.go: dist/main.js
cp node_modules/typescript/lib/lib.d.ts dist/
+ cp deno.d.ts dist/
go-bindata -pkg main -o assets.go dist/
msg.pb.go: msg.proto