rpm-ostree/Makefile-extra.inc
Colin Walters 387da3a420 ci: Verify rustfmt
Split out the command into a separate `Makefile` that doesn't
use Automake so we can invoke it early.

Closes: #1674
Approved by: dustymabe
2018-11-21 21:16:03 +00:00

14 lines
402 B
Makefile

# -*- mode: makefile -*-
# This file defines rules that don't depend on Automake.
# The main idea here is some things we may want to execute
# from CI before we've even run automake, and secondly
# one can avoid rerunning Automake when these rules change.
#
# Specifically right now one can invoke e.g.
# `make -f Makefile-extra.inc rustfmt` directly.
rustfmt:
rustfmt rust/src/*.rs
.PHONY: rustfmt