<commit_before>require 'sprout'
# Optionally load gems from a server other than rubyforge:
# set_sources 'http://gems.projectsprouts.org'
sprout 'as3'

require 'lib/tasks/flashplayer_redgreen_task'
require 'lib/tasks/mxmlc_spec'

############################################
# Configure your Project Model
model = project_model :model do |m|
  m.project_name            = 'metafas3'
  m.language                = 'as3'
  m.background_color        = '#FFFFFF'
  m.width                   = 970
  m.height                  = 550
  # m.use_fdb               = true
  # m.use_fcsh              = true
  # m.preprocessor          = 'cpp -D__DEBUG=false -P - - | tail -c +3'
  # m.preprocessed_path     = '.preprocessed'
  # m.src_dir               = 'src'
  m.lib_dir               	= 'vendor'
  m.swc_dir               	= 'vendor'
  # m.bin_dir               = 'bin'
  # m.test_dir              = 'test'
  # m.doc_dir               = 'doc'
  # m.asset_dir             = 'assets'
  # m.compiler_gem_name     = 'sprout-flex4sdk-tool'
  # m.compiler_gem_version  = '>= 4.0.0'
  # m.source_path           	<< "#{m.lib_dir}/metafas3"
	m.libraries								<< :corelib
	m.libraries								<< :as3spec
	m.test_output							= "#{m.bin_dir}/#{m.project_name}-test.swf"
	m.library_path						<< "#{m.swc_dir}/cs3_components.swc"
end

desc 'Compile and debug the application'
debug :debug

#unit :test
desc 'Compile run the test harness'
spec :spec
# flashplayer :spec => model.test_output
# mxmlc model.test_output => :model do |t|
# 	t.debug					= true
# 	t.use_network		= false # for using filesystem fixtures
# 	t.input					= "#{model.src_dir}/#{model.project_name}Runner.as"
# 	t.output				= model.test_output
# 	t.source_path		<< model.test_dir
# 	t.source_path		<< "#{model.lib_dir}/metafas3"
# 	t.library_path	<< "#{model.swc_dir}/as3spec.swc"
# 	t.library_path	<< "#{model.swc_dir}/corelib.swc"
# 	t.library_path	<< "#{model.swc_dir}/cs3_components.swc"
# end
# task :test => :spec

desc 'Compile the optimized deployment'
deploy :deploy

desc 'Create documentation'<commit_msg>updated rakefile for cs4 components<commit_after>require 'sprout'
# Optionally load gems from a server other than rubyforge:
# set_sources 'http://gems.projectsprouts.org'
sprout 'as3'

require 'lib/tasks/flashplayer_redgreen_task'
require 'lib/tasks/mxmlc_spec'

############################################
# Configure your Project Model
model = project_model :model do |m|
  m.project_name            = 'metafas3'
  m.language                = 'as3'
  m.background_color        = '#FFFFFF'
  m.width                   = 970
  m.height                  = 550
  # m.use_fdb               = true
  # m.use_fcsh              = true
  # m.preprocessor          = 'cpp -D__DEBUG=false -P - - | tail -c +3'
  # m.preprocessed_path     = '.preprocessed'
  # m.src_dir               = 'src'
  m.lib_dir               	= 'vendor'
  m.swc_dir               	= 'vendor'
  # m.bin_dir               = 'bin'
  # m.test_dir              = 'test'
  # m.doc_dir               = 'doc'
  # m.asset_dir             = 'assets'
  # m.compiler_gem_name     = 'sprout-flex4sdk-tool'
  # m.compiler_gem_version  = '>= 4.0.0'
  # m.source_path           	<< "#{m.lib_dir}/metafas3"
	m.libraries								<< :corelib
	m.libraries								<< :as3spec
	m.test_output							= "#{m.bin_dir}/#{m.project_name}-test.swf"
	m.library_path						<< "#{m.swc_dir}/cs4_components.swc"
end

desc 'Compile and debug the application'
debug :debug

#unit :test
desc 'Compile run the test harness'
spec :spec
# flashplayer :spec => model.test_output
# mxmlc model.test_output => :model do |t|
# 	t.debug					= true
# 	t.use_network		= false # for using filesystem fixtures
# 	t.input					= "#{model.src_dir}/#{model.project_name}Runner.as"
# 	t.output				= model.test_output
# 	t.source_path		<< model.test_dir
# 	t.source_path		<< "#{model.lib_dir}/metafas3"
# 	t.library_path	<< "#{model.swc_dir}/as3spec.swc"
# 	t.library_path	<< "#{model.swc_dir}/corelib.swc"
# 	t.library_path	<< "#{model.swc_dir}/cs3_components.swc"
# end
# task :test => :spec

desc 'Compile the optimized deployment'
deploy :deploy

desc 'Create documentation'
{'fraction_non_alphanumeric': 0.15336538461538463, 'fraction_numerical': 0.00985576923076923, 'mean_word_length': 2.413453650533224, 'pattern_counts': {'":': 0, '<': 39, '<?xml version=': 0, '>': 11, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 4}, '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': '3979743', 'n_tokens_mistral': 1628, 'n_tokens_neox': 1529, 'n_words': 287}