commit | 65d4d9dd59c5716cca77ffcf5374c45e5beebb9f | [log] [tgz] |
---|---|---|
author | Yifei Teng <yifeit@google.com> | Mon Mar 23 13:34:51 2020 -0700 |
committer | Yifei Teng <yifeit@google.com> | Mon Mar 23 13:34:51 2020 -0700 |
tree | 12e1b6ed826e0a92f583dd55c5bd90f8b52a86a5 | |
parent | 58de55161baf0a4c1575b9752b88d79501dbe9ff [diff] |
Show an error when FUCHSIA_DIR is not defined. TEST: Manually ran `make run` without FUCHSIA_DIR
diff --git a/Makefile b/Makefile index c0465ac..d681765 100644 --- a/Makefile +++ b/Makefile
@@ -53,6 +53,9 @@ run: $(if $(wildcard frontend/dist),,frontend) run: $(if $(wildcard $(SERVER)),,backend) +ifndef FUCHSIA_DIR + $(error FUCHSIA_DIR is not defined. Either pass in FUCHSIA_DIR="path" or define the variable.) +endif ifeq ($(COPY),1) ./copy_fuchsia_files.sh endif