diff --git a/new_problem b/new_problem --- a/new_problem +++ b/new_problem @@ -21,6 +21,11 @@ end end + +puts "This script is out of dated, shall be fixed soon" +puts "Right now, you can create raw_ev and import" +exit(0) + GRADER_DIR = File.dirname(__FILE__) # print usage @@ -58,7 +63,7 @@ # generating all_tests.cfg puts "generating testcase config file" -template = File.open(File.dirname(__FILE__) + "/all_tests.cfg.erb").read +template = File.open(File.dirname(__FILE__) + "/templates/all_tests.cfg.erb").read all_test_cfg = ERB.new(template) cfg_file = File.open("#{problem}/test_cases/all_tests.cfg","w")