diff options
Diffstat (limited to 'tools/package.sh')
| -rw-r--r-- | tools/package.sh | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/tools/package.sh b/tools/package.sh index 2569e96..c8c6cc1 100644 --- a/tools/package.sh +++ b/tools/package.sh | |||
| @@ -105,6 +105,13 @@ done | |||
| 105 | cp "$DIST/run-${CLIENT#ui-}.bat" "$CDIR/" | 105 | cp "$DIST/run-${CLIENT#ui-}.bat" "$CDIR/" |
| 106 | ls "$CDIR" | sed 's/^/ /' | 106 | ls "$CDIR" | sed 's/^/ /' |
| 107 | 107 | ||
| 108 | echo "=== Exercise 4: web client ===" | ||
| 109 | EX4="$DIST/ex4/ui-web" | ||
| 110 | mkdir -p "$EX4" | ||
| 111 | (cd ui-web && tar cf - --exclude=node_modules --exclude=dist .) | (cd "$EX4" && tar xf -) | ||
| 112 | cp "$EX3/$WAR_NAME.war" "$DIST/ex4/" | ||
| 113 | ls -A "$DIST/ex4" "$EX4" | sed 's/^/ /' | ||
| 114 | |||
| 108 | echo "=== Manifest as it actually landed in the jar ===" | 115 | echo "=== Manifest as it actually landed in the jar ===" |
| 109 | # Cheapest check that prevents a Level-0: if Main-Class or Class-Path didn't | 116 | # Cheapest check that prevents a Level-0: if Main-Class or Class-Path didn't |
| 110 | # survive, it surfaces here instead of on the grader's machine. | 117 | # survive, it surfaces here instead of on the grader's machine. |