<pre style='margin:0'>
Rainer Müller (raimue) pushed a commit to branch master
in repository macports-www.
</pre>
<p><a href="https://github.com/macports/macports-www/commit/e07ab5faaa73a4e92b39828831c2b87613365386">https://github.com/macports/macports-www/commit/e07ab5faaa73a4e92b39828831c2b87613365386</a></p>
<pre style="white-space: pre; background: #F8F8F8">The following commit(s) were added to refs/heads/master by this push:
<span style='display:block; white-space:pre;color:#404040;'> new e07ab5f Add Makefile with lint target for syntax check
</span>e07ab5f is described below
<span style='display:block; white-space:pre;color:#808000;'>commit e07ab5faaa73a4e92b39828831c2b87613365386
</span>Author: Rainer Müller <raimue@macports.org>
AuthorDate: Wed Nov 16 23:14:58 2016 +0100
<span style='display:block; white-space:pre;color:#404040;'> Add Makefile with lint target for syntax check
</span>---
Makefile | 11 +++++++++++
1 file changed, 11 insertions(+)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/Makefile b/Makefile
</span>new file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 0000000..fc32ca9
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--- /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/Makefile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -0,0 +1,11 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+all: lint
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+lint:
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ @error=0; trap "error=$$((error|1))" ERR;\
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ for file in $$(find . -name '*.php' -or -name '*.inc'); do\
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ file=$${file#./};\
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ echo "==> $$file:";\
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ php -l $$file;\
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ echo;\
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ done;\
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ exit $$error
</span></pre><pre style='margin:0'>
</pre>