diff options
| author | Shulhan <ms@kilabit.info> | 2021-09-20 22:40:10 +0700 |
|---|---|---|
| committer | Shulhan <ms@kilabit.info> | 2021-09-20 22:40:10 +0700 |
| commit | 573b57deb79ed8ff1a364822925235b04f4c8e7a (patch) | |
| tree | d7e0f4239121b72d97fbecd83f531764f3aa5d70 | |
| parent | 4888a97be323a1f389a284d0ea2a51936477e708 (diff) | |
| download | gorankusu-573b57deb79ed8ff1a364822925235b04f4c8e7a.tar.xz | |
Makefile: add task to re-compile the TypeScript files
The "tsc" task run the tsc program using the tsconfig.json inside
the directory _www, which will recompile all TypeScript before generating
the embeded file.
| -rw-r--r-- | Makefile | 7 |
1 files changed, 5 insertions, 2 deletions
@@ -2,7 +2,7 @@ ## Use of this source code is governed by a BSD-style ## license that can be found in the LICENSE file. -.PHONY: all run embed +.PHONY: all run embed tsc all: embed go test -v -race ./... @@ -10,5 +10,8 @@ all: embed run: DEBUG=3 go run ./cmd/trunks-example -embed: +embed: tsc go run ./internal/generate-memfs + +tsc: + tsc -p _www/tsconfig.json |
