-
Notifications
You must be signed in to change notification settings - Fork 37
/
Makefile
45 lines (33 loc) · 709 Bytes
/
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
test: prepare
tox -- tests
test-py36: prepare
tox -e py36 -- tests
test-py37: prepare
tox -e py37 -- tests
test-py38: prepare
tox -e py38 -- tests
test-py39: prepare
tox -e py39 -- tests
test-py310: prepare
tox -e py310 -- tests
test-py311: prepare
tox -e py311 -- tests
test-py312: prepare
tox -e py312 -- tests
clean:
@find . -name "*.pyc" -exec rm -rf {} \;
@rm -rf target
prepare: clean
@mkdir target
TYPE?="--feature"
release: clean
git checkout develop
git reset --hard origin/develop
prerelease
git checkout main
git reset --hard origin/main
git merge develop -X theirs --message "Merging develop branch"
release -v
git push
git checkout develop
postrelease -v $(TYPE)