mirror of
https://0xacab.org/sutty/sutty
synced 2024-11-16 16:01:41 +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
|
||||
|
||||
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
|
||||
run %(bundle install --no-cache --path="#{gems_dir}")
|
||||
end
|
||||
|
||||
def jekyll_build
|
||||
|
|
Loading…
Reference in a new issue