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
Branch
master
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 19575
Build 38869: Build Diff
Build 38868: arc lint + arc unit

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