-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
31 lines (26 loc) · 861 Bytes
/
Makefile
File metadata and controls
31 lines (26 loc) · 861 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
include environment
all: fork update
environment: environment.in
@printf "\033[32mContents of environment.in:\033[0m\n"
@echo
@sed -e 's/^/ /g' ./environment.in
@echo
@printf "\033[32mPlease copy environment.in to environment and fill in the\n"
@printf "appropriate values for your site.\033[0m\n\n"
@echo
@if [[ -f ./environment ]]; then\
printf "\033[31mYour environment file is out of date with upstream.\033[0m\n\n";\
fi
@false
fork: environment
scripts/create_public_fork.sh
scripts/set_default_branch.sh
scripts/set_special_default_branches.sh
clean: environment
@echo "Removing fork at ${FORK_OWNER_DOWNSTREAM} momentarily;" \
"pausing for reconsideration..."
@sleep 5
@printf "Okay done sleeping! \033[31mTearing down the walls and roof...\033[0m"
scripts/delete_public_fork.sh
update: ./environment
scripts/update_fork.sh