Skip to content

Commit

Permalink
mk: set -o pipefail
Browse files Browse the repository at this point in the history
  • Loading branch information
yoursunny committed Jun 20, 2020
1 parent 603ab0e commit 132ff1f
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -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.

Expand Down
3 changes: 3 additions & 0 deletions mk/format-code.sh
Original file line number Diff line number Diff line change
@@ -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
2 changes: 2 additions & 0 deletions mk/update-list.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
#!/bin/bash
set -e
set -o pipefail
cd "$( dirname "${BASH_SOURCE[0]}" )"/..

(
Expand Down

0 comments on commit 132ff1f

Please sign in to comment.