<commit_before>use Panda::Common;
use Panda::Builder;
use LibraryMake;
use Shell::Command;

class Build is Panda::Builder {
    method build($workdir) {
        if $*DISTRO.is-win {
          say "Precompiled binary will be used. Disabling build on windows";
          return;
        }
        my $makefiledir = "$workdir/src";
        my $destdir = "$workdir/resources";
        mkpath $destdir;
        make($makefiledir, $destdir);
    }
}<commit_msg>Fix installation on windows<commit_after>use Panda::Common;
use Panda::Builder;
use LibraryMake;
use Shell::Command;

class Build is Panda::Builder {
    method build($workdir) {
        if $*DISTRO.is-win {
          # On windows, let us install the bundled DLL version, Panda will
          # hopefully copy the DLL for us.
          say "Precompiled bundled OpenCV DLL will be installed";

          # Success
          return 1;
        }

        # on Unix, let us try to make it
        my $makefiledir = "$workdir/src";
        my $destdir = "$workdir/resources";
        mkpath $destdir;
        make($makefiledir, $destdir);
    }
}
{'fraction_non_alphanumeric': 0.10675182481751824, 'fraction_numerical': 0.0009124087591240876, 'mean_word_length': 2.375384615384615, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, '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': '5459210', 'n_tokens_mistral': 340, 'n_tokens_neox': 321, 'n_words': 102}