summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorFlorian Dold <florian.dold@gmail.com>2017-05-24 15:10:37 +0200
committerFlorian Dold <florian.dold@gmail.com>2017-05-24 15:11:17 +0200
commit7a3df06eb573d36142bd1a8e03c5ce8752d300b3 (patch)
tree70bfaea8884c374876f607774850a3a51c0cb381 /Makefile
parentaca1143cb9eed16cf37f04e475e4257418dd18ac (diff)
downloadwallet-core-7a3df06eb573d36142bd1a8e03c5ce8752d300b3.tar.gz
wallet-core-7a3df06eb573d36142bd1a8e03c5ce8752d300b3.tar.bz2
wallet-core-7a3df06eb573d36142bd1a8e03c5ce8752d300b3.zip
fix build issues and add typedoc
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile9
1 files changed, 9 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index ae82c3825..8db33a043 100644
--- a/Makefile
+++ b/Makefile
@@ -4,6 +4,7 @@ poname = taler-wallet-webex
gulp = node_modules/gulp/bin/gulp.js
tsc = node_modules/typescript/bin/tsc
pogen = node_modules/pogen/pogen.js
+typedoc = node_modules/typedoc/bin/typedoc
.PHONY: src/i18n/strings.ts yarn-install
@@ -25,6 +26,14 @@ tsconfig.json: gulpfile.js yarn-install
dist:
$(gulp) srcdist
+# make documentation from docstrings
+typedoc:
+ $(typedoc) --out build/typedoc --readme README
+
+clean:
+ rm -rf build/
+
+
i18n: yarn-install
# extract translatable strings
find $(src) \( -name '*.ts' -or -name '*.tsx' \) ! -name '*.d.ts' \