forked from extern/egroupware
adding --sfuser and --after-checkout command (to purge source directories)
This commit is contained in:
parent
b293117135
commit
a48d100e8e
@ -43,6 +43,7 @@ $config = array(
|
|||||||
'editor' => trim(`which vi`),
|
'editor' => trim(`which vi`),
|
||||||
'rsync' => trim(`which rsync`).' --progress -e ssh --exclude "*-stylite-*" --exclude "*-esyncpro-*"',
|
'rsync' => trim(`which rsync`).' --progress -e ssh --exclude "*-stylite-*" --exclude "*-esyncpro-*"',
|
||||||
'composer' => ($composer=trim(`which composer.phar`)) ? $composer.' install --ignore-platform-reqs' : '',
|
'composer' => ($composer=trim(`which composer.phar`)) ? $composer.' install --ignore-platform-reqs' : '',
|
||||||
|
'after-checkout' => 'rm -rf */source */templates/*/source pixelegg/content-element-library',
|
||||||
'packager' => 'build@stylite.de',
|
'packager' => 'build@stylite.de',
|
||||||
'obs' => './obs',
|
'obs' => './obs',
|
||||||
'obs_package_alias' => '', // name used in obs package, if different from packagename
|
'obs_package_alias' => '', // name used in obs package, if different from packagename
|
||||||
@ -50,8 +51,9 @@ $config = array(
|
|||||||
'changelog_packager' => 'Ralf Becker <rb@stylite.de>',
|
'changelog_packager' => 'Ralf Becker <rb@stylite.de>',
|
||||||
'editsvnchangelog' => '* ',
|
'editsvnchangelog' => '* ',
|
||||||
'svntag' => 'tags/$version.$packaging',
|
'svntag' => 'tags/$version.$packaging',
|
||||||
'release' => 'ralfbecker,egroupware@frs.sourceforge.net:/home/frs/project/e/eg/egroupware/eGroupware-$version/eGroupware-$version.$packaging/',
|
'sfuser' => 'ralfbecker',
|
||||||
'copychangelog' => '$sourcedir/README', //'ralfbecker,egroupware@frs.sourceforge.net:/home/frs/project/e/eg/egroupware/README',
|
'release' => '$sfuser,egroupware@frs.sourceforge.net:/home/frs/project/e/eg/egroupware/eGroupware-$version/eGroupware-$version.$packaging/',
|
||||||
|
'copychangelog' => '$sourcedir/README', //'$sfuser,egroupware@frs.sourceforge.net:/home/frs/project/e/eg/egroupware/README',
|
||||||
'skip' => array(),
|
'skip' => array(),
|
||||||
'run' => array('editsvnchangelog','svntag','checkout','copy','virusscan','create','sign','obs','copychangelog'),
|
'run' => array('editsvnchangelog','svntag','checkout','copy','virusscan','create','sign','obs','copychangelog'),
|
||||||
'patchCmd' => '# run cmd after copy eg. "cd $egw_buildroot; patch -p1 /path/to/patch"',
|
'patchCmd' => '# run cmd after copy eg. "cd $egw_buildroot; patch -p1 /path/to/patch"',
|
||||||
@ -733,6 +735,8 @@ function do_checkout()
|
|||||||
{
|
{
|
||||||
run_cmd($config['composer']);
|
run_cmd($config['composer']);
|
||||||
}
|
}
|
||||||
|
// run after-checkout command(s), eg. to purge source directories
|
||||||
|
run_cmd($config['after-checkout']);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
Reference in New Issue
Block a user