Skip to content
Snippets Groups Projects
Commit a2cba5fd authored by bolkun's avatar bolkun
Browse files

Fixed colorful print in Win10

parent a7b9ba8c
No related branches found
No related tags found
No related merge requests found
......@@ -56,9 +56,7 @@ Using cpanm is recommended for an assisted and clean uninstall.
* `cpanm MARC::Record`
* `cpanm XML::XPath`
* `cpanm DateTime::Format::ISO8601`
11. All tests must process successfully and you are ready to go with Bag creation
12. If colors on console not visible, than add line `use Win32::Console::ANSI` in file `SLUB_SIP-Builder/bin/slubsipbuilderbagit.pl` above `use Term::ANSIColor;`
* `cpanm Win32::Console::ANSI`
11. All tests must process successfully and you are ready to go with Bag creation.
## Documentation
* Project based on BagIt 1.0 specification, visit [RFC8493](https://tools.ietf.org/html/rfc8493)
......
......@@ -543,6 +543,7 @@ BEGIN{
## no critic
$INC{'SLUB/LZA/SIPBuilderBagIt.pm'} = 1; # needed because inlined module
## use critic
use if $^O eq 'MSWin32', Win32::Console::ANSI::;
}
return 1 if caller; # avoids main code running if module stuff is needed
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment