mirror of
https://0xacab.org/sutty/sutty
synced 2024-11-16 17:36:22 +00:00
fix: no eliminar archivos
gem-compiler sabe mejor cuales se pueden eliminar y cuáles no sutty/gems#3 sutty/gems#1
This commit is contained in:
parent
f35f4c0f06
commit
75cbed8f6d
1 changed files with 1 additions and 6 deletions
|
@ -92,11 +92,6 @@ class DeployLocal < Deploy
|
||||||
|
|
||||||
def bundle
|
def bundle
|
||||||
run %(bundle install --no-cache --path="#{gems_dir}")
|
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
|
end
|
||||||
|
|
||||||
def jekyll_build
|
def jekyll_build
|
||||||
|
|
Loading…
Reference in a new issue