fix broken js building
- deps need to be defined before used - incremental builds were not working properly
This commit is contained in:
parent
aab765292a
commit
c15f71071e
12
Makefile
12
Makefile
@ -66,6 +66,12 @@ REQS := .build/pyrunreqs .build/pydevreqs .build/jsreqs
|
||||
(cd ts && npm i)
|
||||
touch $@
|
||||
|
||||
# Typescript source
|
||||
######################
|
||||
|
||||
TSDEPS := $(wildcard ts/src/*.ts)
|
||||
JSDEPS := $(patsubst ts/src/%.ts, web/%.js, $(TSDEPS))
|
||||
|
||||
# Building
|
||||
######################
|
||||
|
||||
@ -128,12 +134,6 @@ pytest: .build/pytest
|
||||
pylint: .build/pylint
|
||||
pytype: .build/pytype
|
||||
|
||||
# Typescript source
|
||||
######################
|
||||
|
||||
TSDEPS := $(wildcard ts/src/*.ts)
|
||||
JSDEPS := $(patsubst ts/src/%.ts, web/%.js, $(TSDEPS))
|
||||
|
||||
# Checking typescript
|
||||
######################
|
||||
|
||||
|
@ -8,8 +8,6 @@
|
||||
],
|
||||
"rootDir": "src",
|
||||
"outDir": "../web",
|
||||
"incremental": true,
|
||||
"tsBuildInfoFile": "./.buildinfo",
|
||||
"strict": true,
|
||||
/* Enable all strict type-checking options. */
|
||||
"noImplicitAny": false,
|
||||
|
Loading…
Reference in New Issue
Block a user