We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7744b36 commit a3afb88Copy full SHA for a3afb88
Makefile
@@ -628,9 +628,10 @@ svg: node-check | node_modules
628
629
.PHONY: svg-check
630
svg-check: svg
631
- @diff=$$(git diff $(SVG_DEST_DIR)); \
+ @git add $(SVG_DEST_DIR)
632
+ @diff=$$(git diff --cached $(SVG_DEST_DIR)); \
633
if [ -n "$$diff" ]; then \
- echo "Please run 'make svg' and commit the result:"; \
634
+ echo "Please run 'make svg' and 'git add $(SVG_DEST_DIR)' and commit the result:"; \
635
echo "$${diff}"; \
636
exit 1; \
637
fi;
web_src/svg/gitea-settings.svg
0 commit comments