From c5629e96dfcdc8c7e953a5b908946dd7fb89d6be Mon Sep 17 00:00:00 2001 From: Damien Elmes Date: Sun, 22 Mar 2020 03:39:38 +0000 Subject: [PATCH] exclude autogenerated src from build deps prevents unnecessary rebuilds --- rslib/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rslib/Makefile b/rslib/Makefile index 58cbadfbe..2c38d2723 100644 --- a/rslib/Makefile +++ b/rslib/Makefile @@ -25,7 +25,7 @@ develop: .build/vernum ftl/repo ftl/repo: (cd ftl && ./scripts/fetch-latest-translations) -ALL_SOURCE := $(shell ${FIND} src -type f) $(wildcard ftl/*.ftl) +ALL_SOURCE := $(shell ${FIND} src -type f | egrep -v "i18n/autogen|i18n/ftl|_proto.rs") $(wildcard ftl/*.ftl) # nightly currently required for ignoring files in rustfmt.toml RUST_TOOLCHAIN := $(shell cat rust-toolchain)