<commit_before>require 'cross_platform_csproj'

task :default => [:updateProjectFiles]

task :updateProjectFiles do
	puts "Updating Project Files"

	CrossPlatformCSProj::updateProject('Source/MyProject.Android.csproj', getAndroidFiles())
	CrossPlatformCSProj::updateProject('Source/MyProject.iOS.csproj', getIosFiles())
	CrossPlatformCSProj::updateProject('Source/MyProject.Windows.csproj', getWindowsFiles())
end

def getCoreFiles()
	fileList = FileList.new()

	fileList.include('Source/Core/**/*.cs')

	return fileList
end

def getAndroidFiles()
	fileList = getCoreFiles()

	fileList.include('Source/Platform/Android/**/*.cs')
	fileList.include('Source/Platform/Optional/Rendering/Renderer.OpenGLES.cs')

	return fileList
end

def getIosFiles()
	fileList = getCoreFiles()

	fileList.include('Source/Platform/iOS/**/*.cs')
	fileList.include('Source/Platform/Optional/Rendering/Renderer.OpenGLES.cs')

	return fileList
end

def getWindowsFiles()
	fileList = getCoreFiles()

	fileList.include('Source/Platform/Windows/**/*.cs')
	fileList.include('Source/Platform/Optional/Rendering/Renderer.DirectX.cs')

	return fileList
end<commit_msg>Update example to be a little more obvious as to what is going on<commit_after>require 'cross_platform_csproj'

task :default => [:updateProjectFiles]

task :updateProjectFiles do
	puts "Updating Project Files"

	CrossPlatformCSProj::updateProject('Source/MyProject.Android.csproj', getAndroidFiles())
	CrossPlatformCSProj::updateProject('Source/MyProject.iOS.csproj', getIosFiles())
	CrossPlatformCSProj::updateProject('Source/MyProject.Windows.csproj', getWindowsFiles())
end

def getCoreFiles()
	fileList = FileList.new()

	fileList.include('Source/Core/**/*.cs')

	return fileList
end

def getAndroidFiles()
	fileList = getCoreFiles()

	fileList.include('Source/Platform/Android/**/*.cs')
	fileList.include('Source/Shared/Rendering/Renderer.OpenGLES.cs')

	return fileList
end

def getIosFiles()
	fileList = getCoreFiles()

	fileList.include('Source/Platform/iOS/**/*.cs')
	fileList.include('Source/Shared/Rendering/Renderer.OpenGLES.cs')

	return fileList
end

def getWindowsFiles()
	fileList = getCoreFiles()

	fileList.include('Source/Platform/Windows/**/*.cs')
	fileList.include('Source/Shared/Rendering/Renderer.DirectX.cs')

	return fileList
end
{'fraction_non_alphanumeric': 0.1340026189436927, 'fraction_numerical': 0.0, 'mean_word_length': 6.564356435643564, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 5, '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': '1392528', 'n_tokens_mistral': 744, 'n_tokens_neox': 719, 'n_words': 120}