diff --git a/README.md b/README.md index c3c531c..79521fd 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ # NDNph: Named Data Networking packet headers -[![Travis build status](https://img.shields.io/travis/com/yoursunny/NDNph?style=flat)](https://travis-ci.com/yoursunny/NDNph) [![Coveralls code coverage](https://img.shields.io/coveralls/github/yoursunny/NDNph?style=flat)](https://coveralls.io/github/yoursunny/NDNph) [![GitHub code size](https://img.shields.io/github/languages/code-size/yoursunny/NDNph?style=flat)](https://github.com/yoursunny/NDNph/) +[![Travis build status](https://img.shields.io/travis/com/yoursunny/NDNph?style=flat)](https://travis-ci.com/github/yoursunny/NDNph) [![Coveralls code coverage](https://img.shields.io/coveralls/github/yoursunny/NDNph?style=flat)](https://coveralls.io/github/yoursunny/NDNph) [![GitHub code size](https://img.shields.io/github/languages/code-size/yoursunny/NDNph?style=flat)](https://github.com/yoursunny/NDNph) **NDNph** provides [Named Data Networking](https://named-data.net/) packet encoding and more in a header-only C++11 library. It is part of [esp8266ndn](https://github.com/yoursunny/esp8266ndn) that supports microcontroller programming in Arduino IDE. NDNph can also work independently on Linux and other platforms. diff --git a/mk/format-code.sh b/mk/format-code.sh index e5b2eee..b4d087c 100755 --- a/mk/format-code.sh +++ b/mk/format-code.sh @@ -1,4 +1,7 @@ #!/bin/bash +set -e +set -o pipefail cd "$( dirname "${BASH_SOURCE[0]}" )"/.. + find -name '*.[hc]pp' -or -name '*.ino' | \ xargs clang-format-8 -i -style=file diff --git a/mk/update-list.sh b/mk/update-list.sh index 65a6ff5..6949445 100755 --- a/mk/update-list.sh +++ b/mk/update-list.sh @@ -1,4 +1,6 @@ #!/bin/bash +set -e +set -o pipefail cd "$( dirname "${BASH_SOURCE[0]}" )"/.. (