diff options
| author | Ryan Dahl <ry@tinyclouds.org> | 2018-05-15 04:39:03 -0400 |
|---|---|---|
| committer | Ryan Dahl <ry@tinyclouds.org> | 2018-05-15 04:50:45 -0400 |
| commit | 5117a8f8a289101723bc74d4e9c45581d5b99172 (patch) | |
| tree | 99e63aede656212711c40475a797419d639b7acd /Makefile | |
| parent | 03af2c711818d616f8de82a5bc731a8ec2dbc723 (diff) | |
Compile cache and relative imports working.
Diffstat (limited to 'Makefile')
| -rw-r--r-- | Makefile | 11 |
1 files changed, 10 insertions, 1 deletions
@@ -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 |
