Commit 37a7c1be authored by Ruslan Kabalin's avatar Ruslan Kabalin

Makefile: supress some non-required output

Since it is not really a Makefile for compiling stuff, just a tool for general
user, so only the commnds output should be displayed.

Change-Id: I79a31e6c4839ae711148b07e28eee652cc4a1640
Signed-off-by: default avatarRuslan Kabalin <ruslan.kabalin@luns.net.uk>
parent 183febb6
...@@ -31,13 +31,14 @@ endif ...@@ -31,13 +31,14 @@ endif
commitid := $(shell bash -c "git merge-base $(remote)/master HEAD") commitid := $(shell bash -c "git merge-base $(remote)/master HEAD")
minaccept: minaccept:
@echo "Running minimum acceptance test..."; @echo "Running minimum acceptance test..."
find htdocs/ -type f -name "*.php" | xargs -n 1 -P 2 php -l > /dev/null && echo All good! @find htdocs/ -type f -name "*.php" | xargs -n 1 -P 2 php -l > /dev/null && echo All good!
find htdocs/ -type f -name "install.xml" -path "*/db/install.xml" | xargs -n 1 -P 2 xmllint --schema htdocs/lib/xmldb/xmldb.xsd --noout @find htdocs/ -type f -name "install.xml" -path "*/db/install.xml" | xargs -n 1 -P 2 xmllint --schema htdocs/lib/xmldb/xmldb.xsd --noout
if git rev-parse --verify HEAD 2>/dev/null; then git diff-index -p -M --cached $(commitid) -- ; fi | test/coding-standard-check.pl @if git rev-parse --verify HEAD 2>/dev/null; then git diff-index -p -M --cached $(commitid) -- ; fi | test/coding-standard-check.pl
push: minaccept push: minaccept
if test -z "$(TAG)"; then \ @echo "Pushing the change upstream..."
@if test -z "$(TAG)"; then \
git push gerrit HEAD:refs/for/master; \ git push gerrit HEAD:refs/for/master; \
else \ else \
git push gerrit HEAD:refs/for/master/$(TAG); \ git push gerrit HEAD:refs/for/master/$(TAG); \
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment