summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorruki <[email protected]>2018-11-29 00:38:59 +0800
committerruki <[email protected]>2018-11-28 21:53:55 +0800
commit30e298cd2eb70ddb26303e353a1ceac2ad80c176 (patch)
tree3e5ff613c31228ffe31f8e3dd3d17eaf7c7e6e77
parent7b10ce1303e6081762498cfdef0870cba732ffd0 (diff)
add tips
-rw-r--r--xmake/core/project/project.lua5
1 files changed, 5 insertions, 0 deletions
diff --git a/xmake/core/project/project.lua b/xmake/core/project/project.lua
index 241c6068f..c05884590 100644
--- a/xmake/core/project/project.lua
+++ b/xmake/core/project/project.lua
@@ -545,6 +545,11 @@ function project._load_requires()
extrainfo[k] = nil
end
end
+
+ -- TODO exists deprecated option? show tips
+ if extrainfo.option then
+ os.raise("`option = {}` is no longger supported in add_requires(), please update xmake.lua")
+ end
end
-- add require info