我想在我的属性中.buckconfig
有一个自定义字符串列表。从文档中,我了解到这是受支持的。
这是我的.buckconfig
:
[custom]
key = a b c
这是我的BUCK
文件(用于测试):
print read_config('custom', 'key')
# etc...
最终我想用它read_config('custom', 'key')
来生成deps
一个目标列表。
但是当我构建时,我得到了这个错误:
$ buck run :app
Warning raised by BUCK file parser: a b c
这里有什么错误?我该如何解决?