openethereum/scripts/gitlab/rustfmt.sh

8 lines
142 B
Bash
Raw Normal View History

2018-06-02 04:13:28 +02:00
#!/bin/bash
set -e # fail on any error
set -u # treat unset variables as error
cargo install rustfmt-nightly
cargo fmt -- --write-mode=diff