aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile9
1 files changed, 9 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index b448f3a21..0003a647b 100644
--- a/Makefile
+++ b/Makefile
@@ -11,6 +11,9 @@ tslint = node_modules/tslint/bin/tslint
-include config.mk
+self-strap: submodules/init submodules/update
+ cd build-scripts && make
+
.PHONY: tsc
tsc: tsconfig.json yarn-install
$(tsc)
@@ -39,6 +42,12 @@ typedoc:
clean:
rm -rf dist/ config.mk
+submodules/init:
+ git submodule update --init --recursive
+
+submodules/update:
+ git submodule update --recursive --remote
+
.PHONY: check
check: tsc yarn-install
find dist/node -name '*-test.js' | xargs $(ava)