From 0ea603d96eeefa12095a713900ef645ed3ca2560 Mon Sep 17 00:00:00 2001 From: Ryan Dahl Date: Tue, 29 May 2018 04:28:32 -0400 Subject: Support using deno as a library --- Makefile | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index e7103039e..437e8882f 100644 --- a/Makefile +++ b/Makefile @@ -18,6 +18,7 @@ TS_FILES = \ v8worker2.d.ts GO_FILES = \ + cmd/main.go \ assets.go \ deno_dir.go \ deno_dir_test.go \ @@ -31,13 +32,14 @@ GO_FILES = \ timers.go \ util.go + deno: msg.pb.go $(GO_FILES) - go build -o deno + go build -o deno ./cmd 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/ + go-bindata -pkg deno -o assets.go dist/ msg.pb.go: msg.proto protoc --go_out=. msg.proto -- cgit v1.2.3