<commit_before>'use strict';

let AppTask = cb_require('tasks/app-task'),
	fileUtils = cb_require('utils/file'),
	pathUtils = cb_require('utils/paths'),
	path = require('path'),
	Q = require('q'),
	AppServer = require('totvs-platform-helper/appserver'),
	DevStudio = require('totvs-platform-helper/tdscli');

let ADVPL_SRC,
	ADVPL_INCLUDES,
	ADVPL_SRC_RELATIVE;

class AdvplCompileTask extends AppTask {

	constructor(options) {
		super(options);

		ADVPL_SRC_RELATIVE = pathUtils.get('ADVPL_SRC');
		ADVPL_SRC = pathUtils.get('ADVPL_SRC', this.projectDir);
		ADVPL_INCLUDES = pathUtils.get('ADVPL_INCLUDES', this.projectDir);

		this.tdsOptions = {
			serverType: "Logix",
			server: "127.0.0.1",
			build: "7.00.150715P",
			port: 5056,
			environment: "ENVIRONMENT"
		};

		this.tds = new DevStudio();

		this.appserver = new AppServer({
			target: pathUtils.get("APPSERVER", this.projectDir)
		});
	}
<commit_msg>Build OSx.<commit_after>'use strict';

let AppTask = cb_require('tasks/app-task'),
	fileUtils = cb_require('utils/file'),
	pathUtils = cb_require('utils/paths'),
	path = require('path'),
	Q = require('q'),
	AppServer = require('totvs-platform-helper/appserver'),
	TDS = require('./tdscli');

let ADVPL_SRC,
	ADVPL_INCLUDES,
	ADVPL_SRC_RELATIVE;

class AdvplCompileTask extends AppTask {

	constructor(options) {
		super(options);

		ADVPL_SRC_RELATIVE = pathUtils.get('ADVPL_SRC');
		ADVPL_SRC = pathUtils.get('ADVPL_SRC', this.projectDir);
		ADVPL_INCLUDES = pathUtils.get('ADVPL_INCLUDES', this.projectDir);

		this.tdsOptions = {
			serverType: "Logix",
			server: "127.0.0.1",
			build: "7.00.150715P",
			port: 5056,
			environment: "ENVIRONMENT"
		};

		this.tds = new TDS();

		this.appserver = new AppServer({
			target: pathUtils.get("APPSERVER", this.projectDir)
		});
	}

{'fraction_non_alphanumeric': 0.15675375208449138, 'fraction_numerical': 0.021122846025569762, 'mean_word_length': 4.8441558441558445, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 2, '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': '4595831', 'n_tokens_mistral': 770, 'n_tokens_neox': 689, 'n_words': 111}