File: apilint_sha.sh

package info (click to toggle)
android-platform-frameworks-base 1%3A10.0.0%2Br36-3
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 321,788 kB
  • sloc: java: 962,234; cpp: 274,314; xml: 242,770; python: 5,060; sh: 1,432; ansic: 494; makefile: 47; sed: 19
file content (4 lines) | stat: -rwxr-xr-x 188 bytes parent folder | download | duplicates (2)
1
2
3
4
#!/bin/bash
if git show --name-only --pretty=format: $1 | grep api/ > /dev/null; then
    python tools/apilint/apilint.py <(git show $1:api/current.txt) <(git show $1^:api/current.txt)
fi