Rakefile in polytrix-0.1.0.pre vs Rakefile in polytrix-0.1.0

- old
+ new

@@ -11,11 +11,11 @@ RSpec::Core::RakeTask.new('spec') do |t| t.rspec_opts = "-f documentation" end Cucumber::Rake::Task.new(:features) do |t| - t.cucumber_opts = "features --require features/support --require features/step_definitions" + t.cucumber_opts = "features --require features/support --require features/step_definitions -t ~@wip" end desc 'Remove reports and other generated artifacts' task :clean do FileUtils.rm_rf 'docs' @@ -23,14 +23,16 @@ end desc 'Self-test and self-document' task :self do sh 'bundle exec polytrix bootstrap' - sh 'bundle exec polytrix test' - sh 'bundle exec polytrix code2doc samples/sdks/java/challenges/*.java --target-dir=docs/samples/code2doc/java' - sh 'bundle exec polytrix code2doc samples/sdks/python/challenges/*.py --target-dir=docs/samples/code2doc/python' - sh 'bundle exec polytrix code2doc samples/sdks/ruby/challenges/*.rb --target-dir=docs/samples/code2doc/ruby' - # sh 'bundle exec polytrix code2doc samples/*.rb' + Dir.chdir 'samples' do + # sh 'bundle exec polytrix test' + sh 'bundle exec polytrix code2doc java --target-dir=docs/samples/code2doc/java' + sh 'bundle exec polytrix code2doc python --target-dir=docs/samples/code2doc/python' + sh 'bundle exec polytrix code2doc ruby --target-dir=docs/samples/code2doc/ruby' + # sh 'bundle exec polytrix code2doc samples/*.rb' + end end Rubocop::RakeTask.new(:rubocop) do |task| # abort rake on failure task.fail_on_error = true