diff --git a/src/backends.jl b/src/backends.jl index 87287b940007ec8d0ad393f6b25ab9bb4d4994a3..86745ed51cbfda5a05b3c5ee79ba776dac9e98e2 100644 --- a/src/backends.jl +++ b/src/backends.jl @@ -73,6 +73,10 @@ function push(model::Backends, file::String; clean=true, metadata=true) if isfile(file′) push!(files, file′) end + else + for file′ in Formats.getdependencies(file) + push!(files, file′) + end end for file in files @info "Pushing file to backend" backend=backend instance=instance file=file