tests/test-check-rust-format.t
author Matt Harbison <matt_harbison@yahoo.com>
Mon, 12 Apr 2021 20:58:19 -0400
branchstable
changeset 47081 e917fa36fb58
parent 45987 d42809b6b10f
child 48297 9ebc10ad4a04
permissions -rw-r--r--
heptapod-ci: enable pytype checking The trigger is manual for now, until we get a better idea about stability, resource usage, etc. Differential Revision: https://phab.mercurial-scm.org/D10462

#require rustfmt test-repo

  $ . "$TESTDIR/helpers-testrepo.sh"

  $ cd "$TESTDIR"/..
  $ RUSTFMT=$(rustup which --toolchain nightly-2020-10-04 rustfmt)
  $ for f in `testrepohg files 'glob:**/*.rs'` ; do
  >   $RUSTFMT --check --edition=2018 --unstable-features --color=never $f
  > done