<commit_before>name "sqitch"
default_version "0.973"

dependency "perl"
dependency "postgresql92" # only because we're compiling DBD::Pg here, too.

source :url => "http://www.cpan.org/authors/id/D/DW/DWHEELER/App-Sqitch-#{version}.tar.gz",
       :md5 => "0994e9f906a7a4a2e97049c8dbaef584"

relative_path "App-Sqitch-#{version}"

env = {
  "PATH" => "#{install_dir}/embedded/bin:#{ENV["PATH"]}"
}

# Ensure we install with the properly configured embedded `cpan` client
omnibus_cpan_client = "#{install_dir}/embedded/bin/cpan -j #{cache_dir}/cpan/OmnibusConfig.pm"

# See https://github.com/theory/sqitch for more
build do
  command "perl Build.PL", :env => env
  command "./Build installdeps --cpan_client '#{omnibus_cpan_client}'", :env => env
  command "./Build", :env => env
  command "./Build test", :env => env
  command "./Build install", :env => env

  # We're using PostgreSQL as our database engine, so we need the right driver
  command "yes | #{omnibus_cpan_client} DBD::Pg", :env => env
end<commit_msg>Don't run the `sqitch` unit tests<commit_after>name "sqitch"
default_version "0.973"

dependency "perl"
dependency "postgresql92" # only because we're compiling DBD::Pg here, too.

source :url => "http://www.cpan.org/authors/id/D/DW/DWHEELER/App-Sqitch-#{version}.tar.gz",
       :md5 => "0994e9f906a7a4a2e97049c8dbaef584"

relative_path "App-Sqitch-#{version}"

env = {
  "PATH" => "#{install_dir}/embedded/bin:#{ENV["PATH"]}"
}

# Ensure we install with the properly configured embedded `cpan` client
omnibus_cpan_client = "#{install_dir}/embedded/bin/cpan -j #{cache_dir}/cpan/OmnibusConfig.pm"

# See https://github.com/theory/sqitch for more
build do
  command "perl Build.PL", :env => env
  command "./Build installdeps --cpan_client '#{omnibus_cpan_client}'", :env => env
  command "./Build", :env => env
  command "./Build install", :env => env

  # We're using PostgreSQL as our database engine, so we need the right driver
  command "yes | #{omnibus_cpan_client} DBD::Pg", :env => env
end
{'fraction_non_alphanumeric': 0.15938430983118174, 'fraction_numerical': 0.026812313803376366, 'mean_word_length': 4.628491620111732, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 20, 'https://': 2, 'lorem ipsum': 0, 'www.': 2, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2100207', 'n_tokens_mistral': 786, 'n_tokens_neox': 734, 'n_words': 181}