Skip to content
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Add a Psalm task for console output.
  • Loading branch information
cyrilverloop committed Jan 7, 2020
commit 92cc6a7264d6e635359c44f6ed2f83ea59659e47
10 changes: 9 additions & 1 deletion build.xml
Original file line number Diff line number Diff line change
Expand Up @@ -55,8 +55,16 @@
</exec>
</target>

<target name="psalm" description="Generate psalm.xml">
<target name="psalm" description="Display Psalm analysis">
<exec executable="${basedir}/tools/psalm">
<arg line="-c=${basedir}/psalm.xml" />
<arg line="--output-format=compact" />
</exec>
</target>

<target name="psalm-ci" description="Generate psalm.xml">
<exec executable="${basedir}/tools/psalm" output="${basedir}/build/logs/psalm.xml">
<arg line="-c=${basedir}/psalm.xml" />
<arg line="--show-info=false" />
<arg line="--output-format=xml" />
<arg line="--no-progress" />
Expand Down