forked from futzu/threefive
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
49 lines (35 loc) · 671 Bytes
/
Makefile
File metadata and controls
49 lines (35 loc) · 671 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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
PY3 = python3
PIP3 = pip3
PYPY3 = pypy3
default: install
fmt:
black threefive/
black examples/
black setup.py
gofmt -s -w go/
commit: fmt
git pull
git commit $1
git push
clean:
rm -f dist/*
rm -rf build/*
pypy3: clean
$(PYPY3) setup.py sdist bdist_wheel
$(PYPY3) setup.py install
install: clean pkg
$(PY3) setup.py install
pkg: clean
$(PY3) setup.py sdist bdist_wheel
uninstall: clean
$(PIP3) uninstall threefive
upload: clean pkg
twine upload dist/*
upgrade:
$(PIP3) install --upgrade threefive
cli:
sed -i s/$(PYPY3)/$(PY3)/ cuei
install cuei /usr/local/bin
pypy3-cli:
sed -i s/$(PY3)/$(PYPY3)/ cuei
install cuei /usr/local/bin