-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCREATE_ZIP.sh
More file actions
executable file
·40 lines (31 loc) · 983 Bytes
/
CREATE_ZIP.sh
File metadata and controls
executable file
·40 lines (31 loc) · 983 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
#!/bin/bash
# Script to create a ZIP file for the Java training course
# Excludes solution files for student distribution
echo "Creating student materials ZIP..."
# Create a temporary directory for student files
mkdir -p temp_student/exercises
mkdir -p temp_student/demos
# Copy exercises (not solutions)
cp -r exercises/* temp_student/exercises/
cp -r demos/* temp_student/demos/
# Copy documentation
cp README.md temp_student/
cp SETUP.md temp_student/
cp INTELLIJ_PLAIN_JAVA.md temp_student/
# Create student ZIP
zip -r java-training-student-materials.zip temp_student/*
# Create instructor ZIP with everything
zip -r java-training-instructor-materials.zip \
exercises \
solutions \
demos \
slides.md \
README.md \
SETUP.md \
INTELLIJ_PLAIN_JAVA.md \
TESTING_APPROACH.md
# Clean up
rm -rf temp_student
echo "Created:"
echo " - java-training-student-materials.zip (for students)"
echo " - java-training-instructor-materials.zip (for you)"