ack, code review only/Thanks HansN On 05/25/2016 02:54 PM, Anders Widell wrote: > Makefile.common | 10 ++++++++++ > 1 files changed, 10 insertions(+), 0 deletions(-) > > > Add a "cpplint" build target that can be used in any subdirectory in the > OpenSAF source tree. Use the following command to run it: > > make cpplint > > diff --git a/Makefile.common b/Makefile.common > --- a/Makefile.common > +++ b/Makefile.common > @@ -42,3 +42,13 @@ pkgpyosafutilsclmdir = $(pythondir)/pyos > pkgpyosafutilslogdir = $(pythondir)/pyosaf/utils/log > pkgpyosafutilsimmoidir = $(pythondir)/pyosaf/utils/immoi > pkgpyosafutilsntfdir = $(pythondir)/pyosaf/utils/ntf > + > +cpplint: > + @cpplint=$$(find $(top_srcdir)/tests -name cpplint.py -mtime -30); \ > + test -z "$$cpplint" && wget -O $(top_srcdir)/tests/cpplint.py > https://raw.githubusercontent.com/google/styleguide/gh-pages/cpplint/cpplint.py > && touch $(top_srcdir)/tests/cpplint.py; \ > + find . -path '*/.[a-zA-Z0-9]*' -prune -or \( -name '*.[CH]' -or -name > '*.hh' -or -name '*.[ch]pp' -or -name '*.[ch]xx' \) -exec echo "Invalid file > name: {}" \; 1>&2 ; \ > + find . -path '*/.[a-zA-Z0-9]*' -prune -or \( -name '*.cc' -or -name > '*.h' \) -exec python $(top_srcdir)/tests/cpplint.py --extensions=cc,h {} \; > ; \ > + true > + > +.PHONY: cpplint > +
------------------------------------------------------------------------------ Mobile security can be enabling, not merely restricting. Employees who bring their own devices (BYOD) to work are irked by the imposition of MDM restrictions. Mobile Device Manager Plus allows you to control only the apps on BYO-devices by containerizing them, leaving personal data untouched! https://ad.doubleclick.net/ddm/clk/304595813;131938128;j _______________________________________________ Opensaf-devel mailing list Opensaf-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/opensaf-devel