<commit_before>######################################################################################
# File:: rakefile
# Purpose:: Build tasks for ParseDecision application
#
# Author::    <NAME> 03/12/2010
# Copyright:: Copyright (c) 2010, kTech Systems LLC. All rights reserved.
# Website::   http://ktechsystems.com
######################################################################################

require 'rake'
require 'rake/clean'
require 'rake/rdoctask'
require 'ostruct'
require 'rakeUtils'

# Setup common directory structure


PROJNAME        = "ParseDecision"

# Setup common clean and clobber targets

#CLEAN.include("#{BUILDDIR}/**/*.*")
#CLOBBER.include("#{BUILDDIR}")


#directory BUILDDIR

$verbose = true
	

#############################################################################
#### Imports
# Note: Rake loads imports only after the current rakefile has been completely loaded.

# Load local tasks.
imports = FileList['tasks/**/*.rake']
imports.each do |imp|
	puts "Importing local task file: #{imp}" if $verbose
	import "#{imp}"
end



#############################################################################
#task :init => [BUILDDIR] do
task :init do

end


#############################################################################
Rake::RDocTask.new do |rdoc|
    files = ['lib/**/*.rb', 'app/**/*.rb']
    rdoc.rdoc_files.add( files )
    rdoc.main = "README"                    # Page to start on
    rdoc.title = "#{PROJNAME} Documentation"
    rdoc.rdoc_dir = 'doc'                   # rdoc output folder<commit_msg>Updating rdoc task so it will find docs/README.rdoc file and use it as index page if rdocs.<commit_after>######################################################################################
# File:: rakefile
# Purpose:: Build tasks for ParseDecision application
#
# Author::    <NAME> 03/12/2010
# Copyright:: Copyright (c) 2010, kTech Systems LLC. All rights reserved.
# Website::   http://ktechsystems.com
######################################################################################

require 'rake'
require 'rake/clean'
require 'rake/rdoctask'
require 'ostruct'
require 'rakeUtils'

# Setup common directory structure


PROJNAME        = "ParseDecision"

# Setup common clean and clobber targets

#CLEAN.include("#{BUILDDIR}/**/*.*")
#CLOBBER.include("#{BUILDDIR}")


#directory BUILDDIR

$verbose = true
	

#############################################################################
#### Imports
# Note: Rake loads imports only after the current rakefile has been completely loaded.

# Load local tasks.
imports = FileList['tasks/**/*.rake']
imports.each do |imp|
	puts "Importing local task file: #{imp}" if $verbose
	import "#{imp}"
end



#############################################################################
#task :init => [BUILDDIR] do
task :init do

end


#############################################################################
Rake::RDocTask.new do |rdoc|
    files = ['docs/**/*.rdoc', 'lib/**/*.rb', 'app/**/*.rb']
    rdoc.rdoc_files.add( files )
    rdoc.main = "docs/README.rdoc"           	# Page to start on
	#puts "PWD: #{FileUtils.pwd}"
    rdoc.title = "#{PROJNAME} Documentation"
    rdoc.rdoc_dir = 'doc'                   # rdoc output folder
{'fraction_non_alphanumeric': 0.355541909732883, 'fraction_numerical': 0.00736874424316856, 'mean_word_length': 4.956124314442413, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 7, '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': '6759042', 'n_tokens_mistral': 932, 'n_tokens_neox': 873, 'n_words': 249}