build-git - Build and install any Git
# clone git.git # build and install Git 1.7.2 $ build-git 1.7.2 # build and install all versions between 1.6.5 and 2.1.0 $ build-git --since 1.6.5 --until 2.1.0 # build and install all versions of Git (since 1.0.0) $ build-git # build and install the 5 most recent versions of the selection $ build-git --limit 5 ... # build and install the 5 most ancient versions of the selection $ build-git --limit -5 ... # fetch the latest commit and install the latest git $ build-git --fetch --limit 1
--source <directory> The location of the git.git clone checkout --destination <directory> The location of the Git collection --fetch Start by doing a `git fetch` --list List the selected versions and exit --test Compile, install, test and uninstall the selected versions. Outputs TAP. (Implies --quiet and force --destination to a temporary directory.) --since <version> Select versions greater or equal to <version> --until <version> Select versions less or equal to <version> --missing Select only non-installed versions --installed Select only installed versions (incompatible with the --missing option) --limit <count> Limit the number of versions in the selection (if <count> is positive, keep the most recent ones, if <count> is negative, keep the oldest) --verbose Used once, shows the STDERR of the commands run to compile and install Git. Used twice, also shows the STDOUT. --quiet Silence all output, including the progress status
If no argument is given, all versions are selected.
build-git is a small utility to build and install any version of Git.
It automatically applies some necessary patches that are needed to compile Git on recent systems.
It is used to test the Git::Repository module against all versions of Git.
Philippe Bruhat (BooK) <book@cpan.org>
Copyright 2016 Philippe Bruhat (BooK), all rights reserved.
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
To install Git::Repository, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Git::Repository
CPAN shell
perl -MCPAN -e shell install Git::Repository
For more information on module installation, please visit the detailed CPAN module installation guide.