Lines Matching refs:install_dir
133 def remove_old_release(install_dir): argument
135 if os.path.exists(install_dir):
136 logger().info('Removing old install directory "%s"', install_dir)
137 check_call(['git', 'rm', '-rf', '--ignore-unmatch', install_dir])
141 if os.path.exists(install_dir):
142 shutil.rmtree(install_dir)
145 def install_new_release(branch, build, install_dir): argument
148 install_entry(branch, build, install_dir, entry)
151 def install_entry(branch, build, install_dir, entry): argument
155 install_path = os.path.join(install_dir, entry.install_path)
199 install_dir = 'bin'
203 remove_old_release(install_dir)
204 install_new_release(args.branch, args.build, install_dir)
205 artifacts = [install_dir]