exclude autogenerated src from build deps

prevents unnecessary rebuilds
This commit is contained in:
Damien Elmes 2020-03-22 03:39:38 +00:00
parent 47fcdd0723
commit c5629e96df

View file

@ -25,7 +25,7 @@ develop: .build/vernum ftl/repo
ftl/repo: ftl/repo:
(cd ftl && ./scripts/fetch-latest-translations) (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 # nightly currently required for ignoring files in rustfmt.toml
RUST_TOOLCHAIN := $(shell cat rust-toolchain) RUST_TOOLCHAIN := $(shell cat rust-toolchain)