Skip to content

Commit

Permalink
Use a new kerl feature we contributed: kerl cleanup [build], clean up…
Browse files Browse the repository at this point in the history
… downloaded archives
  • Loading branch information
michaelklishin committed Jul 21, 2012
1 parent 5c04447 commit 850cb8e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion ci_environment/kerl/recipes/default.rb
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,8 @@


execute "install Erlang #{rel}" do
command "#{node.kerl.path} install #{rel} #{installation_root}/#{rel} && rm -rf #{node.travis_build_environment.home}/.kerl/builds/#{rel}/"
# cleanup is available starting with https://github.com/spawngrid/kerl/pull/28
command "#{node.kerl.path} install #{rel} #{installation_root}/#{rel} && #{node.kerl.path} cleanup #{rel} && rm -rf #{node.travis_build_environment.home}/.kerl/archives/*"

user node.travis_build_environment.user
group node.travis_build_environment.group
Expand Down

0 comments on commit 850cb8e

Please sign in to comment.