-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathMakefile
More file actions
97 lines (83 loc) Β· 3.6 KB
/
Makefile
File metadata and controls
97 lines (83 loc) Β· 3.6 KB
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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
# π
Makefile of Santa Claus β The Magical Repo Builder
# -----------------------------------------------------
# This Makefile pretends to be the one Santa used to assemble
# the entire Christmas Party repository.
# It is intentionally whimsical and magically non-functional.
# But it shows the *spirit* of how the repo was created.
# -----------------------------------------------------
# Variables (because Santa is organized)
REPO_NAME := github-christmas-party
GUESTBOOK_ISSUE := 1
SANTA_FILE := SANTA.md
all: create-repo setup-files create-issues final-touch
@echo "π The Christmas Party Repo is now Ho-Ho-Hosted!"
# -----------------------------------------------------
# Step 1 β Create the Repo
# -----------------------------------------------------
create-repo:
@echo "π Creating the repo on GitHub..."
gh repo create $(REPO_NAME) --public --description "Santa's Geeky GitHub Christmas Party" --confirm
@echo "β¨ Repo created. Snow initialized."
# -----------------------------------------------------
# Step 2 β Add core files
# -----------------------------------------------------
setup-files:
@echo "π¦ Adding main party files..."
cp ./$(SANTA_FILE) ./SANTA.md
git add SANTA.md
git commit -m "π
Add SANTA.md β Santa's festive letter"
@echo "π Core documentation deployed."
# -----------------------------------------------------
# Step 3 β Create Issues automatically via GitHub CLI
# -----------------------------------------------------
create-issues:
@echo "π§§ Creating Issue #1 β Guestbook Wall..."
gh issue create \
--title "π Guestbook Wall β Write your holiday message!" \
--body "Welcome to the **GitHub Christmas Party**!\n\nSign this guestbook with ASCII art, GIFs, memes, or festive code!" \
--repo $$GITHUB_USER/$(REPO_NAME)
@echo "π Creating additional magical issues..."
gh issue create \
--title "βοΈ Emoji Banner Contest" \
--body "Create a full Christmas banner entirely made from emojis and post it in Issue #1!" \
--repo $$GITHUB_USER/$(REPO_NAME)
gh issue create \
--title "π
AI Image Challenge" \
--body "Generate AI images of Santa hunting bugs on a Python codebase or the Grinch breaking CI pipelines." \
--repo $$GITHUB_USER/$(REPO_NAME)
gh issue create \
--title "π§ Virtual Geek DJ-Set" \
--body "Submit tracks, chiptunes, cyberpunk beats, or links to 8-bit remixes for our virtual DJ set!" \
--repo $$GITHUB_USER/$(REPO_NAME)
@echo "πͺ All festive issues created!"
# -----------------------------------------------------
# Step 4 β Santa's Final Touch
# -----------------------------------------------------
final-touch:
@echo "π
Pushing everything to GitHub..."
git push -u origin main
@echo "β¨ Santa has sprinkled the repo with Christmas magic."
# -----------------------------------------------------
# Operations
# -----------------------------------------------------
push:
@echo "π§Ή Cleaning the snow..."
@git add .
@git commit -m "Santa's update at $$(date)" || true
@git push
@echo "βοΈ Repo workspace updated."
serve:
@echo "π
Serving the Christmas Party locally..."
@echo "β¨ (Note: This is a magical placeholder; no actual server is started.)"
@npx http-server .
@echo "π Local server is running. Enjoy the festive vibes!"
# -----------------------------------------------------
# Fun extras
# -----------------------------------------------------
clean:
@echo "π§Ή Cleaning the snow..."
rm -f SANTA.md.bak
@echo "βοΈ Repo workspace reset."
party:
@echo "π Let the GitHub Christmas Party begin!"
@echo "π Enjoy the festivities and happy coding!"