Add a terminating LF to tracked text files that were missing a
newline at end of file. This avoids Codacy whitespace failures and
ensures text files conform to the repository line-ending policy.
Affected files were identified and fixed with the following script.
It checks all tracked files against .gitattributes, skips files marked
as binary or -text, and reports the final 32 bytes of any non-empty text
file that does not end with LF before adding the missing newline.
git ls-files -z |
while IFS= read -r -d '' f; do
attr=$(git check-attr text -- "$f")
case "$attr" in
"$f: text: unset"|"$f: text: unspecified")
continue
;;
esac
[ -f "$f" ] || continue
[ -s "$f" ] || continue
[ "$(tail -c 1 -- "$f" | od -An -t x1 | tr -d ' \n')" = "0a" ] || {
printf '%s\n' "$f"
tail -c 32 -- "$f" | hexdump -C
printf '\n' >> "$f"
}
done
Signed-off-by: Robin Getz <rgetz503@gmail.com>
We use CPACK (cmake helper) to package the software
- macOS: we build the .APP and .dmg with all dependencies, like qt,
soapysdr and all others sdr drivers. ENABLE_MIRSDRAPI control if we
remove the mirsdrapi dylib because it is not public distribuitable;
so should be used only on "private" environment.
TODO:
- code/dmg signature
- Debian: make deb with dependencies for Debian 10/9 and Ubuntu
18.04/16.04.
TODO:
- probably to send the package to upstream we need to use
debhelper and debian/
- Fedora/rpm: just basic declaration
TODO:
- write correctly dependencies