aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFlorian Dold <florian.dold@gmail.com>2020-08-20 13:54:52 +0530
committerFlorian Dold <florian.dold@gmail.com>2020-08-20 13:54:52 +0530
commit4c296c9c5f5bf10f4c3d61d84a354749b302a18a (patch)
tree90ad1ef2be8b6f5296b29c29d66f239f21d13239
parent57000c22141afde7eb7b13ccbd16f06d6b6eb5cd (diff)
add typescript build task
-rw-r--r--.vscode/tasks.json7
-rw-r--r--tsconfig.build.json21
2 files changed, 26 insertions, 2 deletions
diff --git a/.vscode/tasks.json b/.vscode/tasks.json
index 0799db9a2..00c61e8a4 100644
--- a/.vscode/tasks.json
+++ b/.vscode/tasks.json
@@ -5,11 +5,14 @@
"tasks": [
{
"type": "typescript",
- "tsconfig": "tsconfig.json",
+ "tsconfig": "tsconfig.build.json",
"problemMatcher": [
"$tsc"
],
- "group": "build"
+ "group": {
+ "kind": "build",
+ "isDefault": true,
+ },
}
]
} \ No newline at end of file
diff --git a/tsconfig.build.json b/tsconfig.build.json
new file mode 100644
index 000000000..6755b8e80
--- /dev/null
+++ b/tsconfig.build.json
@@ -0,0 +1,21 @@
+{
+ "compileOnSave": true,
+ "compilerOptions": {
+ "composite": true,
+ },
+ "references": [
+ {
+ "path": "packages/idb-bridge/"
+ },
+ {
+ "path": "packages/taler-wallet-core/"
+ },
+ {
+ "path": "packages/taler-integrationtests"
+ },
+ {
+ "path": "packages/taler-wallet-cli"
+ }
+ ],
+ "files": []
+}