Skip to content
Permalink
Browse files

Raise an error if ML SDK doesn't exist.

  • Loading branch information...
jdm committed May 16, 2019
1 parent 098bfce commit 205503da9b86f0704eb6db38eb4fb1db791b1a33
Showing with 2 additions and 0 deletions.
  1. +2 −0 python/servo/build_commands.py
@@ -518,6 +518,8 @@ def build(self, target=None, release=False, dev=False, jobs=None,
ml_sdk = env.get("MAGICLEAP_SDK")
if not ml_sdk:
raise Exception("Magic Leap builds need the MAGICLEAP_SDK environment variable")
if not os.path.exists(ml_sdk):
raise Exception("Path specified by MAGICLEAP_SDK does not exist.")

ml_support = path.join(self.get_top_dir(), "support", "magicleap")

0 comments on commit 205503d

Please sign in to comment.
You can’t perform that action at this time.