Page MenuHomePhabricator

[Chronik] Add line to CONTRIBUTING.md and install-dependencies.sh ensuring rustfmt when installing nightly
ClosedPublic

Authored by tobias_ruck on Jul 5 2022, 23:23.

Details

Summary

On some machines, the current set of commands won't necessarily install the rustfmt component.

Adding this call to both CONTRIBUTING.md and install-dependencies.sh doesn't error when rustfmt is already there, but will install it if it isn't.

Test Plan

Run the commands in e.g. a clean docker environment, will either install rustfmt or output info: component 'rustfmt' for target '<target>' is up to date

Diff Detail

Repository
rABC Bitcoin ABC
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

Add the same commands to install-dependencies.sh

tobias_ruck retitled this revision from [Chronik] Add line ensuring rustfmt when installing nightly to [Chronik] Add line to CONTRIBUTING.md and install-dependencies.sh ensuring rustfmt when installing nightly.Jul 6 2022, 09:15
tobias_ruck edited the summary of this revision. (Show Details)
tobias_ruck edited the test plan for this revision. (Show Details)
This revision is now accepted and ready to land.Jul 6 2022, 12:10