Commits

Anonymous committed 114bda7

Got "gem test kakuro_solver" to pass.

  • Participants
  • Parent commits 0c4eed1

Comments (0)

Files changed (1)

File solver/ruby/Rakefile

 # require 'bundler/setup'
 # Bundler::GemHelper.install_tasks
 
+$DB_FILE = 'lib/kakuro_solver/perms_db.rb'
+$GEN_DB = './bin/gen-kakuro-perms-db.rb'
+file $DB_FILE => [$GEN_DB] do
+    sh "ruby #{$GEN_DB} #{$DB_FILE}"
+end
+
 RSpec::Core::RakeTask.new(:spec) do |t|
     # t.spec_files = FileList['t/**/*.rb']
     t.pattern = 't/**/*_spec.rb'