openethereum/scripts/gitlab/rustfmt.sh
Denis S. Soldatov aka General-Beck 95a7b032d7
chmod +x scripts
2018-06-02 05:18:22 +03:00

8 lines
142 B
Bash
Executable File

#!/bin/bash
set -e # fail on any error
set -u # treat unset variables as error
cargo install rustfmt-nightly
cargo fmt -- --write-mode=diff