forked from MacHu-GWU/cottonformation-project
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMakefile
122 lines (62 loc) · 2.75 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
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
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
# -*- coding: utf-8 -*-
#
# This file is generated by cookiecutter-pygitrepo 0.0.5: https://github.com/MacHu-GWU/cookiecutter-pygitrepo/tree/0.0.5
help: ## ** Show this help message
@perl -nle'print $& if m{^[a-zA-Z_-]+:.*?## .*$$}' $(MAKEFILE_LIST) | awk 'BEGIN {FS = ":.*?## "}; {printf "\033[36m%-40s\033[0m %s\n", $$1, $$2}'
up: ## ** Set Up the Virtual Environment
bash ./bin/py/venv-up.sh
remove: ## ** Remove Virtual Environment
bash ./bin/py/venv-remove.sh
clean: ## Clean temp files
bash ./bin/py/clean.sh
#--- Install ---
pip-uninstall: ## ** Uninstall This Package
bash ./bin/py/pip-uninstall.sh
pip-install: pip-uninstall ## ** Install This Package via setup.py
bash ./bin/py/pip-install.sh
pip-dev-install: pip-uninstall ## ** Install This Package in Editable Mode
bash ./bin/py/pip-dev-install.sh
req-dev: ## Install Development Dependencies
bash ./bin/py/req-dev.sh
req-doc: ## Install Document Dependencies
bash ./bin/py/req-doc.sh
req-test: ## Install Test Dependencies
bash ./bin/py/req-test.sh
#--- Test ---
test: req-test pip-dev-install test-only ## ** Run test
test-only: ## Run test without checking test dependencies
bash ./bin/py/test.sh
cov: req-test pip-dev-install cov-only ## ** Run Code Coverage test
cov-only: ## Run Code Coverage test without checking test dependencies
bash ./bin/py/test-cov.sh
view-cov: ## Open Code Coverage Results
bash ./bin/py/view-cov.sh
tox: ## Run multi python version test with tox
bash ./bin/py/test-tox.sh
#--- Document ---
build-doc: req-doc pip-dev-install ## ** Build Documents, start over
bash ./bin/py/build-doc.sh
build-doc-only: ## Build Documents, skip check doc dependencies, skip clean existing doc
bash ./bin/py/build-doc-only.sh
view-doc: ## ** Open Html Document
bash ./bin/py/view-doc.sh
deploy-doc-to-version: ## Deploy Html Document to the "x.x.x" version directory on AWS S3
bash ./bin/py/deploy-doc-to-version.sh
deploy-doc-to-latest: ## Deploy Html Document to the "latest" directory on AWS S3
bash ./bin/py/deploy-doc-to-latest.sh
deploy-doc: ## ** Deploy Html Document to both "x.x.x" and "latest" directory on AWS S3
bash ./bin/py/deploy-doc.sh
build-and-deploy-doc: build-doc deploy-doc ## ** Build and deploy Html Document to AWS S3
clean-doc: ## ** Deploy Html Document to AWS S3
bash ./bin/py/clean-doc.sh
#--- Other ---
reformat: req-dev ## ** Pep8 Format Python Source Code
bash ./bin/py/reformat-python-code.sh
publish: req-dev pip-dev-install ## ** Publish This Package to PyPI
bash ./bin/py/publish-to-pypi.sh
notebook: ## ** Run jupyter notebook
bash ./bin/py/run-notebook.sh
info: ## ** Show information about python, pip in this environment
bash ./bin/py/info.sh
req-info: ## Show requirements information
bash ./bin/py/req-info.sh