<commit_before>#!/usr/bin/env python

import os
import subprocess
import sys

# TODO: release/debug

root = os.path.dirname(os.path.dirname(os.path.abspath(__file__)))
if sys.platform != "win32":
    cmd = ['make', '-C', root]
else:
    cmd = ['devenv.exe', '/build', 'Debug', 'virgo.sln', '/project', 'monitoring-agent.vcproj']

print ' '.join(cmd)
subprocess.call(cmd, shell=True)

<commit_msg>fix tools/build.py to work on windows.<commit_after>#!/usr/bin/env python

import os
import subprocess
import sys

# TODO: release/debug

root = os.path.dirname(os.path.dirname(os.path.abspath(__file__)))
if sys.platform != "win32":
    cmd = ['make', '-C', root]
else:
    cmd = ['devenv.com', '/build', 'Debug', 'monitoring-agent.sln', '/project', 'monitoring-agent.vcxproj']

print ' '.join(cmd)
subprocess.call(cmd, shell=True)


{'fraction_non_alphanumeric': 0.19059107358262967, 'fraction_numerical': 0.0048250904704463205, 'mean_word_length': 4.533333333333333, 'pattern_counts': {'":': 2, '<': 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': '4689289', 'n_tokens_mistral': 310, 'n_tokens_neox': 303, 'n_words': 67}