Cleanup tmp directory after build

This commit is contained in:
2024-07-08 15:18:06 -03:00
parent 0358744b46
commit a2d65d4b5e
3 changed files with 5 additions and 3 deletions

View File

@ -53,8 +53,9 @@ module Funko
# Build the thing
run_faaso(["build", tmp_dir.to_s, "--no-runtime"], env)
ensure
FileUtils.rm_rf(tmp_dir) unless tmp_dir.nil?
end
# Endpoints for the web frontend
# General status for the front page