Method: CBin::Build::Helper#clean_workspace
- Defined in:
- lib/cocoapods-lhj-bin/helpers/build_helper.rb
permalink #clean_workspace ⇒ Object
[View source]
104 105 106 107 108 109 110 111 112 113 114 |
# File 'lib/cocoapods-lhj-bin/helpers/build_helper.rb', line 104 def clean_workspace UI.puts 'Cleaning workspace' FileUtils.rm_rf(gen_name) Dir.chdir(zip_dir) do FileUtils.rm_rf(framework_name) if @zip FileUtils.rm_rf(library_name) FileUtils.rm_rf(framework_name) unless @framework_output FileUtils.rm_rf("#{framework_name}.zip") unless @framework_output end end |