|  |  
 |   |   
 NAMEApp::GitGot::Command::lib - Generate a lib listing off a .gotlib file VERSIONversion 1.339 SYNOPSIS    $ echo '@dancer/lib' > .gotlib
    $ export PERL5LIB=`got lib yet_another_repo_name/lib`
    # PERL5LIB will now hold the path to the 'lib'
    # subdirectory of 'yet_another_repo_name', followed
    # by the 'lib' directories of all repos tagged with 'dancer',
    # followed by the original paths of PERL5LIB
DESCRIPTIONGot's "lib" subcommand is a Got-aware answer to ylib and Devel::Local, and provides an easy way to alter the PERL5LIB environment variable (or indeed any other env variable) with local libraries in got-managed repos. The subcommand will merge any library passed on the command line and found in the the gotlib file (if present), and will generate a library listing where those directories are prepended to PERL5LIB (command-line entries first, then the ones from the gotlib file). Libraries can be given in three different ways: 
 OPTIONS--separatorSeparator printed between library directories in the output. Defaults to ':' (colon). --libvarEnvironment variable containing the directories to include at the end of the library listing. Defaults to PERL5LIB. --gotlibFile containing the list of directories to include. Defaults to .gotlib. SEE ALSOAUTHORJohn SJ Anderson <john@genehack.org> COPYRIGHT AND LICENSEThis software is copyright (c) 2020 by John SJ Anderson. This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself. 
 
 |