From d989491d69e564b7a2405d8666f1a488b46e0463 Mon Sep 17 00:00:00 2001 From: EuAndreh Date: Thu, 9 Nov 2023 11:13:41 -0300 Subject: tests/assert-deps.sh: Enforce Makefile is always up-to-date --- Makefile | 20 +++++++++++++------- 1 file changed, 13 insertions(+), 7 deletions(-) (limited to 'Makefile') 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. -- cgit v1.2.3