Include ingested files in package tarballs

If a package has an ingested file import, we will now add the file
to the tarball.
This commit is contained in:
Agus Zubiaga 2024-05-18 02:07:58 +02:00
parent e5ea6dc461
commit 504107f90e
No known key found for this signature in database
2 changed files with 51 additions and 11 deletions

View file

@ -747,7 +747,7 @@ pub fn build(
}
// Rather than building an executable or library, we're building
// a tarball so this code can be distributed via a HTTPS
// a tarball so this code can be distributed via HTTPS
let filename = roc_packaging::tarball::build(path, compression)?;
let total_time_ms = start_time.elapsed().as_millis();
let total_time = if total_time_ms > 1000 {