mirror of
https://github.com/ankitects/anki.git
synced 2025-09-21 15:32:23 -04:00
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
2 changed files with 6 additions and 8 deletions
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 a new issue