mirror of
https://0xacab.org/sutty/sutty
synced 2024-11-16 12:21:43 +00:00
feat: eliminar archivos que no se usan de las gemas
para liberar espacio
This commit is contained in:
parent
e258e6e2d9
commit
a265caad97
1 changed files with 5 additions and 0 deletions
|
@ -92,6 +92,11 @@ class DeployLocal < Deploy
|
|||
|
||||
def bundle
|
||||
run %(bundle install --no-cache --path="#{gems_dir}")
|
||||
|
||||
# Eliminar archivos que no se usan
|
||||
Dir.glob("#{gems_dir}/ruby/2.7.0/{cache/*,gems/*/{spec,test,ext,vendor}}").each do |dir|
|
||||
FileUtils.rm_rf(dir)
|
||||
end
|
||||
end
|
||||
|
||||
def jekyll_build
|
||||
|
|
Loading…
Reference in a new issue