archlinuxcn / lilac

Lilac is the build bot for archlinuxcn
GNU General Public License v3.0
114 stars 40 forks source link

load lilac.py once #60

Closed petronny closed 6 years ago

petronny commented 6 years ago

粗略测试了一下貌似没问题?

petronny commented 6 years ago

这个要在 #61 解决了以后才能用 不然deps中的mods不会被load进来,下面lilac_build时会报错

我觉得所有要build的包的mod必须要在read_dependencies中load 所以下面lilac_build没有做

if not package in mods:
   mods[package] = load_lilac()
lilydjwg commented 6 years ago

我觉得可以在一开始就把所有 lilac.py 给加载了。 https://github.com/archlinuxcn/repo/issues/703 也是要求如此。