Rakefile in pione-0.2.2 vs Rakefile in pione-0.3.0

- old
+ new

@@ -1,90 +1,20 @@ require "bundler/gem_tasks" require "pione" -$stand_alone = "bin/pione-client --stand-aline" - desc 'generate HTML API documentation' task 'html' do sh 'bundle exec yard doc -o html --hide-void-return --no-api --private' end desc 'Show undocumented function list' task 'html:undoc' do sh 'bundle exec yard stats --list-undoc --no-api --private --compact' end -desc 'count characters in input direcotry' -task 'example:CountChar' do - sh "ruby -I lib %s -i %s %s" % [ - $stand_alone, - "example/CountChar/text", - "example/CountChar/CountChar.pione" - ] -end - -desc 'count characters in input direcotry with debug mode' -task 'example:CountChar:debug_mode' do - sh "ruby -I lib %s -i %s -d %s" % [ - $stand_alone, - "example/CountChar/text", - "example/CountChar/CountChar.pione" - ] -end - -desc 'count characters by stream' -task 'example:CountCharStream' do - sh "ruby -I lib %s -s %s" % [ - $stand_alone, - "example/CountChar/CountCharStream.pione" - ] -end - -desc 'count characters by stream with debug mode' -task 'example:CountCharStream:debug_mode' do - sh "ruby -I lib %s -s -d %s" % [ - $stand_alone, - "example/CountChar/CountCharStream.pione" - ] -end - -desc 'sum numbers in file' -task 'example:Sum' do - sh "ruby -I lib %s -i %s %s" % [ - $stand_alone, - "example/Sum/input", - "example/Sum/Sum.pione" - ] -end - -desc 'sum numbers in file with debug mode' -task 'example:Sum:debug_mode' do - sh "ruby -I lib %s -i %s -d %s" % [ - $stand_alone, - "example/Sum/input", - "example/Sum/Sum.pione" - ] -end - -desc 'fib calc' -task 'example:Fib' do - sh "ruby -I lib %s %s" % [ - $stand_alone, - "example/Fib/Fib.pione", - ] -end - -desc 'fib calc with debug mode' -task 'example:Fib:debug' do - sh "ruby -I lib %s -d %s" % [ - $stand_alone, - "example/Fib/Fib.pione" - ] -end - desc 'execute basic tests' task 'test' do - sh "bundle exec bacon -I lib -rsimplecov test/parser/spec_*.rb test/transformer/spec_*.rb test/model/spec_*.rb test/log/spec_*.rb test/location/spec_*.rb test/component/spec_*.rb test/util/spec_*.rb test/tuple/spec_*.rb test/uri-scheme/spec_*.rb test/agent/spec_logger.rb test/agent/spec_messenger.rb test/agent/spec_rule-provider.rb test/rule-handler/spec_action-handler.rb test/rule-handler/spec_flow-handler.rb test/rule-handler/spec_update-criteria.rb test/tuple-space/spec_data-finder.rb test/system/spec_*.rb test/command/spec_*.rb" + sh "bundle exec bacon -rsimplecov -a" end desc 'parser test' task 'test:parser' do sh "bundle exec bacon -I lib test/parser/spec_*.rb"