<commit_before>local term = require("terminal")
local eapi = require("Editors")
local json = require("Libraries.JSON")
local lume = require("Libraries.lume")

if (...) and (...) == "-?" then
  printUsage(
    "build","Build for all targets.",
    "build [targets]","Build for specific targets.",
    "build love","Build unversal .love file.",
    "build win","Build for windows 32-bit.",
    "build linux","Build for linux.",
    "build osx","Build for apple osx."
    )
  return
end

local targets = {...}
if #targets == 0 then targets = {"love","win","linux","osx"} end
--if #targets == 0 then targets = {"love","win","linux"} end

for i=1,#targets do targets[targets[i]] = true end --Values to Keys, easier for searching.

local BuildTemplates

if targets.win or targets.linux or targets.osx then
  if not fs.exists("C:/BuildTemplates.zip") then
    color(7) print("Please download ",false)
    color(6) print("BuildTemplates.zip ",false)
    color(7) print("from ",false)
    color(6) print("https://github.com/LIKO-12/Nightly/releases")
    color(7) print("\nThen drop them into the window here")
    color(6) print("\nPress any key to open the webpage, or press escape to terminate the build")
    color(7)

    for event, a,b,c,d,e,f in pullEvent do
      if event == "keypressed" then<commit_msg>Remove a commented line<commit_after>local term = require("terminal")
local eapi = require("Editors")
local json = require("Libraries.JSON")
local lume = require("Libraries.lume")

if (...) and (...) == "-?" then
  printUsage(
    "build","Build for all targets.",
    "build [targets]","Build for specific targets.",
    "build love","Build unversal .love file.",
    "build win","Build for windows 32-bit.",
    "build linux","Build for linux.",
    "build osx","Build for apple osx."
    )
  return
end

local targets = {...}
if #targets == 0 then targets = {"love","win","linux","osx"} end

for i=1,#targets do targets[targets[i]] = true end --Values to Keys, easier for searching.

local BuildTemplates

if targets.win or targets.linux or targets.osx then
  if not fs.exists("C:/BuildTemplates.zip") then
    color(7) print("Please download ",false)
    color(6) print("BuildTemplates.zip ",false)
    color(7) print("from ",false)
    color(6) print("https://github.com/LIKO-12/Nightly/releases")
    color(7) print("\nThen drop them into the window here")
    color(6) print("\nPress any key to open the webpage, or press escape to terminate the build")
    color(7)

    for event, a,b,c,d,e,f in pullEvent do
      if event == "keypressed" then
{'fraction_non_alphanumeric': 0.1603441533046539, 'fraction_numerical': 0.010559249120062574, 'mean_word_length': 3.835538752362949, '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': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2250339', 'n_tokens_mistral': 834, 'n_tokens_neox': 787, 'n_words': 261}