mirror of
https://github.com/galaxyproject/galaxy.git
synced 2026-10-25 00:12:08 +08:00
Merged in BjoernGruening/galaxy-central-bgruening/action_tpye_make_install (pull request #217)
This commit is contained in:
@@ -486,6 +486,14 @@ def install_and_build_package( app, tool_dependency, actions_dict ):
|
||||
return_code = handle_command( app, tool_dependency, install_dir, cmd )
|
||||
if return_code:
|
||||
return
|
||||
elif action_type == 'make_install':
|
||||
# make; make install; allow providing make options
|
||||
with settings( warn_only=True ):
|
||||
make_opts = action_dict.get( 'make_opts', '' )
|
||||
cmd = install_environment.build_command( 'make %s && make install' % make_opts )
|
||||
return_code = handle_command( app, tool_dependency, install_dir, cmd )
|
||||
if return_code:
|
||||
return
|
||||
elif action_type == 'download_file':
|
||||
# Download a single file to the current working directory.
|
||||
url = action_dict[ 'url' ]
|
||||
|
||||
@@ -626,6 +626,11 @@ def install_via_fabric( app, tool_dependency, install_dir, package_name=None, pr
|
||||
action_dict[ 'r_packages' ] = r_packages
|
||||
else:
|
||||
continue
|
||||
elif action_type == 'make_install':
|
||||
# make; make install; allow providing make options
|
||||
if action_elem.text:
|
||||
make_opts = td_common_util.evaluate_template( action_elem.text, install_dir )
|
||||
action_dict[ 'make_opts' ] = make_opts
|
||||
elif action_type == 'chmod':
|
||||
# Change the read, write, and execute bits on a file.
|
||||
# <action type="chmod">
|
||||
|
||||
Reference in New Issue
Block a user