aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorMiquel Sabaté Solà <msabate@suse.com>2020-04-04 21:23:48 +0200
committerMiquel Sabaté Solà <msabate@suse.com>2020-04-04 21:23:48 +0200
commitc3551def989ca5418468b64939f991ed042eabf1 (patch)
treeeb8ff736aa3ad8c37b4f98b4713cadf3a29bb3fc /Makefile
parent88866c63b18eee7a887f1d6637f78ce1671cdfe2 (diff)
downloadsoria-c3551def989ca5418468b64939f991ed042eabf1.tar.gz
soria-c3551def989ca5418468b64939f991ed042eabf1.zip
make: added a checkdoc target
The implementation is somewhat dubious, but it does the job... Signed-off-by: Miquel Sabaté Solà <msabate@suse.com>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile7
1 files changed, 6 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 8d57dfb..739d3bf 100644
--- a/Makefile
+++ b/Makefile
@@ -29,7 +29,7 @@ clean:
ci: version all
.PHONY: test
-test: lint git-validation load-test
+test: lint git-validation checkdoc load-test
# Maybe it would've been nicer to use Cask or something like that, but it
# doesn't have too many dependencies so it should be fine for now.
@@ -77,3 +77,8 @@ load-test:
(add-to-list 'custom-theme-load-path \"$(TOP)\") \
(load-theme 'soria t) \
(message \"%s\" soria-theme-hide-helm-header))"
+
+.PHONY: checkdoc
+checkdoc:
+ @chmod +x ./bin/checkdoc.sh
+ @./bin/checkdoc.sh $(BATCH) -nw --load soria-theme.el