forked from cloudreach/sshless
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
52 lines (39 loc) · 878 Bytes
/
Copy pathMakefile
File metadata and controls
52 lines (39 loc) · 878 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
48
49
50
51
52
SHELL := /bin/bash
clean: clean-build clean-pyc
version:
python setup.py --version
clean-build:
rm -rf build/
rm -rf dist/
rm -rf .eggs/
rm -rf .cache/
rm -rf .tox/
rm -rf .pytest_cache/
rm -rf '*.egg-info/'
find . -name '*.egg-info' -exec rm -fr {} +
find . -name '*.egg' -exec rm -f {} +
clean-pyc:
find . -name '*.pyc' -exec rm -f {} +
find . -name '*.pyo' -exec rm -f {} +
find . -name '*~' -exec rm -f {} +
find . -name '__pycache__' -exec rm -fr {} +
lint:
flake8 --ignore=E722,F405,E501,F403 sshless tests
dist: clean
python setup.py sdist
pip: dist
twine upload dist/*
tag_github_release:
git tag v`python setup.py --version`
git push origin v`python setup.py --version`
local: clean-build
python setup.py install
rm -fr build/
rm -fr dist/
rm -fr .eggs/
rm -rf *.egg-info/
test:
pytest
test-all:
tox
mv Changelog CHANGELOG.rst