summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorAlexandre Flament <alex@al-f.net>2021-06-28 10:53:32 +0200
committerGitHub <noreply@github.com>2021-06-28 10:53:32 +0200
commit30e4a2a2249547c59c1d0b5d5e443e093b311e68 (patch)
tree69c817fd0f2186ddbd3f3b3c4e5e35394c8eaff2 /Makefile
parent7308709b8bfb9eaecaf66ec05c2965942b409c8e (diff)
parentd29094579b335f330a08156c814fcc5fb23f1856 (diff)
Merge pull request #174 from searxng/static_script
[mod] add make targets to manage the build files in the /searx/static directory
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile7
1 files changed, 5 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index cd541a9a7..ea743dd35 100644
--- a/Makefile
+++ b/Makefile
@@ -58,15 +58,16 @@ test.shell:
dockerfiles/docker-entrypoint.sh
$(Q)shellcheck -x -s bash \
utils/brand.env \
- ./manage \
+ $(MTOOLS) \
utils/lib.sh \
+ utils/lib_static.sh \
utils/filtron.sh \
utils/searx.sh \
utils/morty.sh \
utils/lxc.sh \
utils/lxc-searx.env \
.config.sh
- $(Q)./manage build_msg TEST "$@ OK"
+ $(Q)$(MTOOLS) build_msg TEST "$@ OK"
# wrap ./manage script
@@ -83,12 +84,14 @@ MANAGE += pyenv pyenv.install pyenv.uninstall
MANAGE += pypi.upload pypi.upload.test
MANAGE += test.yamllint test.pylint test.pep8 test.unit test.coverage test.robot test.clean
MANAGE += themes.all themes.oscar themes.simple pygments.less
+MANAGE += static.build.commit static.build.drop static.build.restore
PHONY += $(MANAGE)
$(MANAGE):
$(Q)$(MTOOLS) $@
+
# deprecated
PHONY += docs docs-clean docs-live docker themes