File tree Expand file tree Collapse file tree 2 files changed +40
-8
lines changed
Expand file tree Collapse file tree 2 files changed +40
-8
lines changed Original file line number Diff line number Diff line change 1+ # IDE and OS files
12/.idea /
2- * .pdf
3+ .DS_Store
4+
5+ # Ruby
36.bundle
4- # Ignore all json-outputs directories
7+ * .gem
8+ * .rbc
9+
10+ # Generated outputs
11+ * .pdf
12+ pdf-outputs * /
13+ build-context /
14+
15+ # JSON outputs and zips
16+
17+ # Ignore all json-outputs directories and their contents
518json-outputs /
6- # But keep the directory itself
19+
20+ # But keep the directory structure
21+ ! json-outputs /
722! json-outputs /.gitkeep
8- build-context
9- pdf-outputs *
10- .DS_Store
23+
24+ # Ignore all zip files
25+ * .zip
26+
27+ # But keep any zip files we want to track (if any)
28+ ! * .zip.sig
29+
30+ # Temporary files
31+ * .swp
32+ * ~
Original file line number Diff line number Diff line change 1- #! /bin/sh
2- zip -r json-outputs-$1 .zip json-outputs-$1
1+ #! /bin/sh
2+
3+ # Check if a course name was provided
4+ if [ -z " $2 " ]; then
5+ # No course specified, zip all courses separately
6+ zip -r json-outputs-experience_course-$1 .zip json-outputs/experience_course-$1
7+ zip -r json-outputs-better_conversations_with_ai-$1 .zip json-outputs/better_conversations_with_ai-$1
8+ else
9+ # Zip specific course
10+ course_name=$2
11+ zip -r json-outputs-$course_name -$1 .zip json-outputs/$course_name -$1
12+ fi
You can’t perform that action at this time.
0 commit comments