<commit_before>--
-- Copyright (c) 2012-2016 <NAME> and individual contributors.
-- License: https://github.com/taylor001/crown/blob/master/LICENSE
--

local CROWN_DIR = (path.getabsolute("..") .. "/")
local CROWN_BUILD_DIR = (CROWN_DIR .. "build/")

solution "tools"
	language "Vala"

	configurations {
		"debug",
		"release",
	}

	location(CROWN_BUILD_DIR .. "projects/")
	targetdir(CROWN_BUILD_DIR .. "tools")

	configuration { "debug" }
		targetsuffix "-debug"

	project "level-editor"
		kind "ConsoleApp"

		configuration { "debug" }
			flags {
				"Symbols",
			}

		configuration { "release" }
			flags {
				"Optimize"
			}

		configuration { "linux" }
			defines {
				"CROWN_PLATFORM_LINUX"
			}

		configuration { "windows" }
			defines {
				"CROWN_PLATFORM_WINDOWS"
			}

		configuration {}

		links {
			"gdk-3.0",
			"gee-0.8",
			"gio-2.0",
			"glib-2.0",
			"gtk+-3.0",
			"posix",
		}

		buildoptions {
			"-lm",
		}

		files {
			CROWN_DIR .. "tools/**.vala"
		}

	configuration {}
<commit_msg>Update tools.lua<commit_after>--
-- Copyright (c) 2012-2016 <NAME> and individual contributors.
-- License: https://github.com/taylor001/crown/blob/master/LICENSE
--

local CROWN_DIR = (path.getabsolute("..") .. "/")
local CROWN_BUILD_DIR = (CROWN_DIR .. "build/")

solution "tools"
	language "Vala"

	configurations {
		"debug",
		"release",
	}

	location(CROWN_BUILD_DIR .. "projects/")
	targetdir(CROWN_BUILD_DIR .. "tools")

	configuration { "debug" }
		targetsuffix "-debug"

	project "level-editor"
		kind "ConsoleApp"

		configuration { "debug" }
			flags {
				"Symbols",
			}

		configuration { "release" }
			flags {
				"Optimize"
			}

		configuration { "linux" }
			defines {
				"CROWN_PLATFORM_LINUX"
			}

		configuration { "windows" }
			defines {
				"CROWN_PLATFORM_WINDOWS"
			}

		configuration {}

		links {
			"gdk-3.0",
			"gee-0.8",
			"gio-2.0",
			"glib-2.0",
			"gtk+-3.0",
			"posix",
		}

		buildoptions {
			"-lm",
			"-Wno-deprecated-declarations",
			"-Wno-incompatible-pointer-types",
			"-Wno-discarded-qualifiers",
		}

		files {
			CROWN_DIR .. "tools/**.vala"
		}

	configuration {}

{'fraction_non_alphanumeric': 0.1696344892221181, 'fraction_numerical': 0.019681349578256794, 'mean_word_length': 2.765432098765432, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, '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': '4352852', 'n_tokens_mistral': 1005, 'n_tokens_neox': 803, 'n_words': 136}