1
0
mirror of https://github.com/nlohmann/json synced 2024-11-10 06:20:06 +00:00

👷 added targets for infer and oclint

This commit is contained in:
Niels Lohmann 2019-03-18 00:19:28 +01:00
parent 22c733e6fe
commit 9fc093c9e0
No known key found for this signature in database
GPG Key ID: 7F3CEA63AE251B69

View File

@ -466,6 +466,15 @@ pvs_studio:
cd pvs_studio_build ; plog-converter -a'GA:1,2;64:1;CS' -t fullhtml PVS-Studio.log -o pvs
open pvs_studio_build/pvs/index.html
infer:
rm -fr infer_build
mkdir infer_build
cd infer_build ; infer compile -- cmake .. ; infer run -- make -j 4
oclint:
oclint $(SRCS) -report-type html -enable-global-analysis -o oclint_report.html -max-priority-1=10000 -max-priority-2=10000 -max-priority-3=10000 -- -std=c++11 -Iinclude
open oclint_report.html
##########################################################################
# maintainer targets
##########################################################################