Skip to content

Commit

Permalink
Small fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
mblockelet committed Jul 14, 2016
1 parent e0cb697 commit 03ceb6c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cache_reset.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
shutil.rmtree(CFG_BUILDSDIR, ignore_errors=True)
shutil.rmtree(CFG_CACHEDIR, ignore_errors=True)
# Recreate them
os.mkdir(CFG_BUILDSDIR)
os.mkdir(CFG_CACHEDIR)
os.makedirs(CFG_BUILDSDIR)
os.makedirs(CFG_CACHEDIR)
# Reinitialize the cache database
schema_db.schemaDb()
2 changes: 2 additions & 0 deletions tools/taskstarter/taskstarter.py
Original file line number Diff line number Diff line change
Expand Up @@ -615,6 +615,7 @@ def remotetest(args):
solution sometimes getting a grade of 0 for a test and having a final
average grade of 25. Adding a "correct solution" allows to test
automatically whether the task grades properly the solutions.""")
addsolParser.add_argument('-f', '--force', help='Force addition', action='store_true')
addsolParser.add_argument('-t', '--taskpath', help='Task path', default='.')
addsolParser.add_argument('-g', '--grade', help='Expected average grade for the solution', type=int, action='store')
addsolParser.add_argument('-l', '--lang', help='Language of the solution', required=True, action='store')
Expand All @@ -624,6 +625,7 @@ def remotetest(args):
The 'removesol' action allows to remove a "correct solution" which was
added with 'addsol' from the task.""")
removesolParser.add_argument('-a', '--all', help='Remove all correct solutions', dest='removeall', action='store_true')
removesolParser.add_argument('-f', '--force', help='Force removal', action='store_true')
removesolParser.add_argument('-t', '--taskpath', help='Task path', default='.')
removesolParser.add_argument('path', help='Path to the solution', nargs='?', default='')

Expand Down

0 comments on commit 03ceb6c

Please sign in to comment.