Description:
moved config files out of svn
git-svn-id: http://theory.cpe.ku.ac.th/grader/cli/trunk/scripts@13 6386c4cd-e34a-4fa8-8920-d93eb39b512e
Commit status:
[Not Reviewed]
References:
Diff options:
Comments:
0 Commit comments
0 Inline Comments
Unresolved TODOs:
There are no unresolved TODOs
r1:083ff3f9fa3f - - 6 files changed: 30 inserted, 30 deleted
@@ -0,0 +1,14 | |||||
|
|
1 | + | ||
|
|
2 | + PROBLEMS_DIR = "/home/jittat/grader/ev" | ||
|
|
3 | + | ||
|
|
4 | + USER_RESULT_DIR = "/home/jittat/grader/result" | ||
|
|
5 | + | ||
|
|
6 | + TALKATIVE = true | ||
|
|
7 | + | ||
|
|
8 | + def report_comment(comment) | ||
|
|
9 | + if comment.chomp =~ /^P+$/ # all P's | ||
|
|
10 | + 'passed' | ||
|
|
11 | + else | ||
|
|
12 | + 'failed' | ||
|
|
13 | + end | ||
|
|
14 | + end |
@@ -0,0 +1,10 | |||||
|
|
1 | + | ||
|
|
2 | + PROBLEMS_DIR = "/home/jittat/grader/ev" | ||
|
|
3 | + | ||
|
|
4 | + USER_RESULT_DIR = "/home/jittat/grader/result" | ||
|
|
5 | + | ||
|
|
6 | + TALKATIVE = true | ||
|
|
7 | + | ||
|
|
8 | + def report_comment(comment) | ||
|
|
9 | + comment.chomp | ||
|
|
10 | + end |
@@ -0,0 +1,6 | |||||
|
|
1 | + | ||
|
|
2 | + # Rails app directory | ||
|
|
3 | + RAILS_APP_DIR = "/home/jittat/web_grader" | ||
|
|
4 | + | ||
|
|
5 | + # load the required environment file | ||
|
|
6 | + require "env_#{GRADER_ENV}.rb" |
deleted file |
deleted file |
deleted file |
You need to be logged in to leave comments.
Login now