UNPKG

555 BPlain TextView Raw
1# Makefile for Python Wechaty
2#
3# GitHb: https://github.com/wechaty/python-wechaty
4# Author: Huan LI <zixia@zixia.net> https://github.com/huan
5#
6
7.PHONY: all
8all : generate
9
10.PHONY: clean
11clean:
12 rm -fr generated/*
13
14.PHONY: install
15install:
16 pip3 install -r requirements.txt
17 pip3 install -r requirements-dev.txt
18
19.PHONY: test
20pytest:
21 python3 -m pytest src/ tests/
22
23code:
24 code .
25
26.PHONY: dist
27dist:
28 python3 setup.py sdist bdist_wheel
29
30.PHONY: publish
31publish:
32 PATH=~/.local/bin:${PATH} twine upload dist/*
33
34.PHONY: generate
35generate:
36 ./generate.sh