Installation
Install from CPAN
If you want the packaged release, install it directly from CPAN:
cpanm -n OMOP::CSV::Validator
This is the simplest path if you only want to use the validator.
Install from Git
Use the repository checkout if you want the latest development version, the docs site, or the full test suite.
This project uses cpanm and the repository cpanfile.
Install cpanm if it is not already available:
sudo apt-get install cpanminus
If your system is missing standard build tooling, install that first:
sudo apt-get install gcc make libperl-dev
Clone the repository and install its dependencies:
git clone https://github.com/CNAG-Biomedical-Informatics/omop-csv-validator.git
cd omop-csv-validator
cpanm -n --installdeps .
If you prefer a local Perl library, configure local::lib first:
cpanm --local-lib=~/perl5 local::lib
eval "$(perl -I ~/perl5/lib/perl5/ -Mlocal::lib)"
Validate the install
If you installed from a repository checkout, run the bundled test suite:
prove -l t/
Print the CLI version:
omop-csv-validator --version
If you are running from a repository checkout without installing the CLI into your PATH, use:
bin/omop-csv-validator --version