-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMakefile
48 lines (39 loc) · 1.17 KB
/
Makefile
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
.PHONY: all venv run clean
# default target, when make executed without arguments
all: install
$(VENV)/bin/activate: setup.py
pyenv virtualenv 3.8.5 ghd
pyenv activate ghd
pip install --upgrade pip
install: groundhogs_day
pip3 install -e .
uninstall:
pip3 uninstall ghd -y
# venv is a shortcut target
venv: $(VENV)/bin/activate
run: venv
#./$(VENV)/bin/python3 app.py
ghd
test: install
# ghd list organization --output table
# ghd list organization --output json
# ghd list organization --output json --export
# ghd list accounts --output table
# ghd list accounts --output csv
# ghd list accounts --output json
# ghd list accounts --output csv --export
# ghd list accounts --output json --export
# ghd list org_admins --output table
# ghd list org_admins --output json
# ghd list org_admins --output json --export
# ghd s3account --off
# ghd s3account --on
# ghd s3account --on --target 123
ghd vpcdelete
mirror: groundhogs_day
cp -r groundhogs_day/groundhogs_day ../github_groundhogs_day/
cp -r groundhogs_day/menus ../github_groundhogs_day/groundhogs_day/
cp -r Makefile ../github_groundhogs_day/
clean:
rm -rf $(VENV)
find . -type f -name '*.pyc' -delete