summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile11
1 files changed, 10 insertions, 1 deletions
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