-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathMakefile
More file actions
36 lines (29 loc) · 689 Bytes
/
Makefile
File metadata and controls
36 lines (29 loc) · 689 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
help:
@grep -B1 -E "^[a-zA-Z0-9_-]+\:([^\=]|$$)" Makefile \
| grep -v -- -- \
| sed 'N;s/\n/###/' \
| sed -n 's/^#: \(.*\)###\(.*\):.*/\2###\1/p' \
| column -t -s '###'
#: install python dependencies
deps:
pi install
#: remove build dists
clean:
rm -rf build dist *.egg-info
#: create git tag with the version number in poetry
release:
git tag `pi version -s`
git push origin `pi version -s`
#: re-create git tag with the version number in poetry
release-again:
git tag -d `pi version -s`
git push -d origin `pi version -s`
git tag `pi version -s`
git push origin `pi version -s`
#: build dists
build:
make clean
pi build
#: publish to pypi
publish:
pi publish