[Libreoffice-commits] online.git: loleaflet/Makefile.am

Henry Castro (via logerrit) logerrit at kemper.freedesktop.org
Fri May 29 01:56:26 UTC 2020


 loleaflet/Makefile.am |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 15d4d3156d62a5f6114d519a0b2c7660fa0bbc0b
Author:     Henry Castro <hcastro at collabora.com>
AuthorDate: Wed May 27 10:08:16 2020 -0400
Commit:     Henry Castro <hcastro at collabora.com>
CommitDate: Fri May 29 03:56:08 2020 +0200

    loleaflet: makefile: move the command to check UNO commands
    
    Change-Id: Ic841b0de22d3e62779fe0c112a33c942ba87b160
    Reviewed-on: https://gerrit.libreoffice.org/c/online/+/94977
    Tested-by: Jenkins
    Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice at gmail.com>
    Reviewed-by: Henry Castro <hcastro at collabora.com>

diff --git a/loleaflet/Makefile.am b/loleaflet/Makefile.am
index ef34d4c5d..6bf27c77e 100644
--- a/loleaflet/Makefile.am
+++ b/loleaflet/Makefile.am
@@ -383,7 +383,6 @@ define global_file
 endef
 
 all-local: build-loleaflet
-	$(abs_top_srcdir)/scripts/unocommands.py --check $(abs_top_srcdir)
 
 if !ENABLE_MOBILEAPP
 ADMIN_BUNDLE = $(DIST_FOLDER)/admin-bundle.js
@@ -422,6 +421,7 @@ $(INTERMEDIATE_DIR)/admin-src.js: $(LOLEAFLET_ADMIN_ALL)
 
 $(INTERMEDIATE_DIR)/loleaflet-src.js: $(call prereq_loleaflet,$(BUNDLE))
 	@mkdir -p $(dir $@)
+	$(abs_top_srcdir)/scripts/unocommands.py --check $(abs_top_srcdir)
 	@echo "Checking for loleaflet JS errors..."
 	@$(NODE) node_modules/eslint/bin/eslint.js $(srcdir)/src \
 		$(srcdir)/js --ignore-path $(srcdir)/.eslintignore --config $(srcdir)/.eslintrc


More information about the Libreoffice-commits mailing list