mirror of
https://github.com/dragonpilot/dragonpilot.git
synced 2026-06-25 07:52:03 +08:00
9 lines
304 B
Bash
Executable File
9 lines
304 B
Bash
Executable File
#!/bin/bash -e
|
|
git clone https://github.com/danmar/cppcheck.git || true
|
|
cd cppcheck
|
|
git checkout 29e5992e51ecf1ddba469c73a0eed0b28b131de5
|
|
make -j4
|
|
cd ../../../
|
|
tests/misra/cppcheck/cppcheck --dump board/main.c
|
|
python tests/misra/cppcheck/addons/misra.py board/main.c.dump 2>/tmp/misra/output.txt || true
|