mirror of
https://github.com/status-im/nimbus-build-system-desktop.git
synced 2025-01-27 05:54:53 +00:00
Edit make update warning message (#18)
* edit make update warning message * fix shell syntax and reword the warning * add some newlines Co-authored-by: Ștefan Talpalaru <stefantalpalaru@yahoo.com>
This commit is contained in:
parent
53870bc6bc
commit
9c4c4d3acf
@ -42,7 +42,7 @@ sanity-checks:
|
|||||||
warn-update:
|
warn-update:
|
||||||
if [[ -e $(UPDATE_TIMESTAMP) ]]; then \
|
if [[ -e $(UPDATE_TIMESTAMP) ]]; then \
|
||||||
if [[ $$(cat $(UPDATE_TIMESTAMP)) -ne $$($(GET_CURRENT_COMMIT_TIMESTAMP)) ]]; then \
|
if [[ $$(cat $(UPDATE_TIMESTAMP)) -ne $$($(GET_CURRENT_COMMIT_TIMESTAMP)) ]]; then \
|
||||||
echo -e "\n\"$$(basename "$(MAKE)") update\" was not executed for the current Git commit! The resulting build is unsupported.\n"; \
|
echo -e "\nWarning: to ensure you are building in a supported repo state, please always run \"$$(basename "$(MAKE)") update\" after \"git pull\"\n(it looks like you've forgotten to do this).\nThis also applies whenever you switch to a new branch or commit, e.g.: whenever you run \"git checkout ...\".\n"; \
|
||||||
fi; \
|
fi; \
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user