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)
|
(cd ts && npm i)
|
||||||
touch $@
|
touch $@
|
||||||
|
|
||||||
|
# Typescript source
|
||||||
|
######################
|
||||||
|
|
||||||
|
TSDEPS := $(wildcard ts/src/*.ts)
|
||||||
|
JSDEPS := $(patsubst ts/src/%.ts, web/%.js, $(TSDEPS))
|
||||||
|
|
||||||
# Building
|
# Building
|
||||||
######################
|
######################
|
||||||
|
|
||||||
@ -128,12 +134,6 @@ pytest: .build/pytest
|
|||||||
pylint: .build/pylint
|
pylint: .build/pylint
|
||||||
pytype: .build/pytype
|
pytype: .build/pytype
|
||||||
|
|
||||||
# Typescript source
|
|
||||||
######################
|
|
||||||
|
|
||||||
TSDEPS := $(wildcard ts/src/*.ts)
|
|
||||||
JSDEPS := $(patsubst ts/src/%.ts, web/%.js, $(TSDEPS))
|
|
||||||
|
|
||||||
# Checking typescript
|
# Checking typescript
|
||||||
######################
|
######################
|
||||||
|
|
||||||
|
@ -8,8 +8,6 @@
|
|||||||
],
|
],
|
||||||
"rootDir": "src",
|
"rootDir": "src",
|
||||||
"outDir": "../web",
|
"outDir": "../web",
|
||||||
"incremental": true,
|
|
||||||
"tsBuildInfoFile": "./.buildinfo",
|
|
||||||
"strict": true,
|
"strict": true,
|
||||||
/* Enable all strict type-checking options. */
|
/* Enable all strict type-checking options. */
|
||||||
"noImplicitAny": false,
|
"noImplicitAny": false,
|
||||||
|
Loading…
Reference in New Issue
Block a user