mirror of
https://0xacab.org/sutty/sutty
synced 2024-11-16 17:56:21 +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
|
@ -91,12 +91,7 @@ class DeployLocal < Deploy
|
||||||
end
|
end
|
||||||
|
|
||||||
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