diff options
author | Daniel Mueller <deso@posteo.net> | 2019-08-15 08:11:13 -0700 |
---|---|---|
committer | Daniel Mueller <deso@posteo.net> | 2019-08-15 08:11:13 -0700 |
commit | 155f9b7e7f36975240ef93f3daf983b228592a11 (patch) | |
tree | b407ef697d1241cdbc46bc0b5a8545c63a7bafad /libc/ci/style.sh | |
parent | 49f5194e16db47b6de9847b79840c6fe35e0df8c (diff) | |
download | nitrocli-155f9b7e7f36975240ef93f3daf983b228592a11.tar.gz nitrocli-155f9b7e7f36975240ef93f3daf983b228592a11.tar.bz2 |
Update libc crate to 0.2.62
This change updates the libc crate to version 0.2.62.
Import subrepo libc/:libc at 37f8f8dc233a79ea9cc89b102aa30ff6e402fe94
Diffstat (limited to 'libc/ci/style.sh')
-rw-r--r-- | libc/ci/style.sh | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/libc/ci/style.sh b/libc/ci/style.sh new file mode 100644 index 0000000..a6a0017 --- /dev/null +++ b/libc/ci/style.sh @@ -0,0 +1,19 @@ +#!/usr/bin/env sh + +set -ex + +rustc ci/style.rs && ./style src + +if rustup component add rustfmt-preview ; then + which rustfmt + rustfmt -V + cargo fmt --all -- --check +fi + +if shellcheck --version ; then + shellcheck -e SC2103 ci/*.sh +else + echo "shellcheck not found" + exit 1 +fi + |