Skip to content
Snippets Groups Projects
Unverified Commit 9c13c475 authored by Matthias Schiffer's avatar Matthias Schiffer Committed by GitHub
Browse files

gluon.mk: print source file name in GluonSrcDiet (#2424)

luasrcdiet will not print the name of its input file when an error
occurs. To facilitate debugging, echo the name before calling it, so it
is visible with V=s or BUILD_LOG=1.
parent 7d75cfdd
No related branches found
No related tags found
No related merge requests found
......@@ -67,6 +67,7 @@ define GluonSrcDiet
ifdef CONFIG_GLUON_MINIFY
# Use cp + rm instead of mv to preserve destination permissions
set -e; $(FIND) $(2) -type f | while read src; do \
echo "Minifying $$$$src..."; \
luasrcdiet --noopt-binequiv -o "$$$$src.tmp" "$$$$src"; \
cp "$$$$src.tmp" "$$$$src"; \
rm "$$$$src.tmp"; \
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment