Skip to content

Commit d6c4c67

Browse files
committed
add command to build autograder
1 parent 8ea92e8 commit d6c4c67

File tree

2 files changed

+7
-0
lines changed

2 files changed

+7
-0
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,3 +16,4 @@ Untitled.ipynb
1616
!.vscode/settings.json
1717

1818
extras/autograder/results/
19+
autograder.zip

Makefile

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,3 +41,9 @@ autograde:
4141
/bin/bash -c "/autograder/source/setup.sh && /autograder/source/run_autograder"
4242

4343
cat ./extras/autograder/results/results.json
44+
45+
build_autograder:
46+
# https://stackoverflow.com/a/17351814/358804
47+
git archive -o ./extras/autograder.zip HEAD:./extras/autograder/source
48+
49+
echo "Now upload extras/autograder.zip to Gradescope."

0 commit comments

Comments
 (0)