From 5117a8f8a289101723bc74d4e9c45581d5b99172 Mon Sep 17 00:00:00 2001 From: Ryan Dahl Date: Tue, 15 May 2018 04:39:03 -0400 Subject: Compile cache and relative imports working. --- Makefile | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index e201e7855..78ecb357d 100644 --- a/Makefile +++ b/Makefile @@ -1,3 +1,12 @@ +TS_FILES = \ + amd.ts \ + main.ts \ + msg.pb.js \ + compiler.ts \ + msg.pb.d.ts \ + os.ts \ + util.ts + deno: assets.go msg.pb.go main.go go build -o deno @@ -13,7 +22,7 @@ msg.pb.js: msg.proto node_modules msg.pb.d.ts: msg.pb.js node_modules ./node_modules/.bin/pbts -o msg.pb.d.ts msg.pb.js -dist/main.js: main.ts compiler.ts os.ts util.ts msg.pb.js msg.pb.d.ts node_modules +dist/main.js: $(TS_FILES) node_modules ./node_modules/.bin/tsc --noEmit # Only for type checking. ./node_modules/.bin/parcel build --out-dir=dist/ --no-minify main.ts -- cgit v1.2.3