<commit_before>import winbrew

class Nodejs(winbrew.Formula):
    url = 'http://nodejs.org/dist/v4.2.4/node-v4.2.4.tar.gz'
    homepage = 'https://nodejs.org'
    sha1 = '3cfef84f3a80b9e8835f8bee5a8209a4af8c52f2'
    build_deps = ()
    deps = ()
    options = {}

    def install(self):
        self.system('vcbuild.bat')
        self.bin('Release\\node.exe')
        self.bin('deps\\npm\\bin\\npm')
        self.bin('deps\\npm\\bin\\npm.cmd')
        self.cd('deps')
        self.copy('npm', 'bin\\node_modules\\npm')

    def test(self):
        self.system('node -v')<commit_msg>Make nodejs work under x64<commit_after>import winbrew

class Nodejs(winbrew.Formula):
    url = 'http://nodejs.org/dist/v4.2.4/node-v4.2.4.tar.gz'
    homepage = 'https://nodejs.org'
    sha1 = '3cfef84f3a80b9e8835f8bee5a8209a4af8c52f2'
    build_deps = ()
    deps = ()
    options = {}

    def install(self):
        self.system('vcbuild.bat x64')
        self.bin('Release\\node.exe')
        self.bin('deps\\npm\\bin\\npm')
        self.bin('deps\\npm\\bin\\npm.cmd')
        self.cd('deps')
        self.copy('npm', 'bin\\node_modules\\npm')

    def test(self):
        self.system('node -v')
{'fraction_non_alphanumeric': 0.18427726120033813, 'fraction_numerical': 0.052409129332206254, 'mean_word_length': 2.4022988505747125, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 2, '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': '5957849', 'n_tokens_mistral': 501, 'n_tokens_neox': 468, 'n_words': 56}