summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile20
1 files changed, 13 insertions, 7 deletions
diff --git a/Makefile b/Makefile
index beb18b1..faa4c51 100644
--- a/Makefile
+++ b/Makefile
@@ -47,15 +47,13 @@ manpages.in = $(manpages.en.in)
manpages = $(manpages.in:.in=)
sources.js = \
- src/compat.js \
- src/utils.js \
- src/server/web.js \
- src/client.js \
+ src/api.js \
+ src/cli.js \
+ src/utils.js \
tests.js = \
tests/js/compat.js \
tests/js/utils.js \
- tests/js/server/web.js \
sources = \
@@ -84,11 +82,19 @@ $(tests.js-t):
check-t: $(tests.js-t)
+assert-tests = \
+ tests/assert-deps.sh \
+
+$(assert-tests): ALWAYS
+ sh $@
+
+check-asserts: $(assert-tests)
+
## Run all tests. Each test suite is isolated, so that a parallel
## build can run tests at the same time. The required artifacts
-## are created if required.
-check: check-t
+## are created if missing.
+check: check-t check-asserts
## Remove *all* derived artifacts produced during the build.