forked from amcgregor/pyoomush
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMakefile
61 lines (43 loc) · 1.02 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
PROJECT = jikca
USE = development,logger
.PHONY: all develop clean veryclean test start stop restart status backup freeze thaw vip public release
all: clean develop test
develop: ${PROJECT}.egg-info/PKG-INFO
clean:
find . -name __pycache__ -exec rm -rfv {} +
find . -iname \*.pyc -exec rm -fv {} +
find . -iname \*.pyo -exec rm -fv {} +
rm -rvf build htmlcov
veryclean: clean
rm -rvf *.egg-info .packaging/*
test: develop
@clear
@pytest
start:
echo "NOP"
stop:
echo "NOP"
restart: stop start
status:
echo "NOP"
backup:
echo "NOP"
restore:
echo "NOP"
freeze:
# Prevent account/character creation.
echo "NOP"
thaw:
# Permit account/character creation.
echo "NOP"
vip:
# Only allow access by accounts with status.
echo "NOP"
public:
# Allow access by all accounts.
echo "NOP"
release:
./setup.py sdist bdist_wheel ${RELEASE_OPTIONS}
${PROJECT}.egg-info/PKG-INFO: setup.py setup.cfg jikca/release.py
@mkdir -p ${VIRTUAL_ENV}/lib/pip-cache
pip install --cache-dir "${VIRTUAL_ENV}/lib/pip-cache" -Ue ".[${USE}]"