make non-embedded runtimes work properly

This commit is contained in:
2024-07-05 15:58:33 -03:00
parent 1a48ffbf22
commit 1d2b44a3ba
7 changed files with 11 additions and 10 deletions

View File

@ -25,7 +25,8 @@ module Faaso
template_base,
template_files,
folder,
{"name" => Path[folder].basename}
{"name" => Path[folder].basename,
"runtime" => runtime}
)
0
end

View File

@ -85,3 +85,8 @@ when .fetch("status", false)
end
exit(status)
# Embed runtimes in the faaso binary using rucksack
{% for name in `find ./runtimes -type f`.split('\n') %}
rucksack({{name}})
{% end %}

View File

@ -91,8 +91,3 @@ module Runtime
end
end
end
# Embed runtimes in the binary using rucksack
{% for name in `find ./runtimes -type f`.split('\n') %}
rucksack({{name}})
{% end %}