mirror of
https://github.com/radareorg/radare2-pm.git
synced 2026-11-07 06:35:57 -10:00
Add linting script
This commit is contained in:
1 parent
c4b78dec4e
commit
a2825536ab
1 file changed
+16
@@ -0,0 +1,16 @@
|
||||
#!/bin/sh
|
||||
|
||||
echo "## Broken packages using global variables"
|
||||
git grep '^[A-Z]*=' db |grep -v :R2PM |cut -d : -f1|sort -u
|
||||
|
||||
echo "## Wrongly indented packages (use tabs not spaces!)"
|
||||
git grep '^ ' db |cut -d : -f 1 |sort -u
|
||||
|
||||
echo "## Packages without R2PM_END"
|
||||
for a in db/* ; do git grep R2PM_END $a > /dev/null || echo $a ; done
|
||||
|
||||
echo "## Packages supported on Windows"
|
||||
git grep R2PM_INSTALL_WINDOWS |cut -d : -f1|sort -u
|
||||
|
||||
echo "## Packages with XXX or TODO comments"
|
||||
git grep -e TODO -e XXX db
|
||||
Reference in new issue
Block a user