openethereum/scripts/gitlab/rustfmt.sh
Denis S. Soldatov aka General-Beck 8926b43d49
add missed scripts
2018-06-02 05:13:28 +03:00

8 lines
142 B
Bash

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