Skip to content
This repository was archived by the owner on Nov 20, 2020. It is now read-only.

Commit 670d8e1

Browse files
committed
Fix deployment of packages without file manifest
1 parent 66d4481 commit 670d8e1

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

dist/package.lua

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -306,6 +306,11 @@ function deploy_binary_pkg(pkg_dir, deploy_dir)
306306
return true, "Simulated deployment of package '" .. pkg_name .. "' sucessfull."
307307
end
308308

309+
-- If we do not have a file list make one
310+
if not info.files then
311+
info.files["Unspecified"] = sys.get_file_list(pkg_dir)
312+
end
313+
309314
-- copy all components of the module to the deploy_dir
310315
for _, component in ipairs(cfg.components) do
311316
if info.files[component] then

0 commit comments

Comments
 (0)