From: W. Trevor King Date: Tue, 5 Feb 2013 18:51:04 +0000 (-0500) Subject: quizzes: Move quizzes into a subdirectory X-Git-Tag: v0.1~56 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=37328ea897c57e7d49f07c83d5f9d5f37a6bf4db;p=quizzer.git quizzes: Move quizzes into a subdirectory --- diff --git a/quiz.json b/quizzes/monty-python.json similarity index 71% rename from quiz.json rename to quizzes/monty-python.json index 9f1c902..894105e 100644 --- a/quiz.json +++ b/quizzes/monty-python.json @@ -30,16 +30,6 @@ "dependencies": [ "What is your quest?" ] - }, - { - "class": "ScriptQuestion", - "interpreter": "sh", - "prompt": "list all the files in the current directory", - "answer": "ls", - "setup": [ - "touch file-1 file-2 file-3" - ], - "help": "http://pubs.opengroup.org/onlinepubs/009696699/idx/utilities.html" } ] } diff --git a/quizzes/posix-shell.json b/quizzes/posix-shell.json new file mode 100644 index 0000000..192958c --- /dev/null +++ b/quizzes/posix-shell.json @@ -0,0 +1,15 @@ +{ + "version": "0.1", + "questions": [ + { + "class": "ScriptQuestion", + "interpreter": "sh", + "prompt": "list all the files in the current directory", + "answer": "ls", + "setup": [ + "touch file-1 file-2 file-3" + ], + "help": "http://pubs.opengroup.org/onlinepubs/009696699/idx/utilities.html" + } + ] +}