fix(build): allow build=false to skip building

This commit is contained in:
Folke Lemaitre 2023-11-04 10:14:03 +01:00
parent 16603c6917
commit 314193af1d
No known key found for this signature in database
GPG Key ID: 41F8B1FBACAE2040
1 changed files with 5 additions and 0 deletions

View File

@ -30,6 +30,11 @@ M.build = {
local builders = self.plugin.build local builders = self.plugin.build
-- Skip if `build` is set to `false`
if builders == false then
return
end
local build_file = get_build_file(self.plugin) local build_file = get_build_file(self.plugin)
if build_file then if build_file then
if builders then if builders then