forked from regebro/hovercraft
-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathMakefile
More file actions
83 lines (57 loc) · 1.38 KB
/
Makefile
File metadata and controls
83 lines (57 loc) · 1.38 KB
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
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
#function commot_tasks1(){
.ONESHELL:
build:
rsync -av --delete ~/research/projects/prezentprogramo/ ~/temp/prezent/
#uv tool uninstall --all
#uv cache clean
uv tool uninstall prezentprogramo
uv cache clean prezentprogramo
uv tool install ~/temp/prezent/
#}
#function run22(){
# commot_tasks1
cd ~/research/projects/slide/os/ ; \
rm -rf cpu/ ; \
prezentprogramo cpu.rst ;
# python3 --version
#}
#function bildumilo_test_run(){
# commot_tasks1
# cd ~/temp/prezent/
# bildumilo ~/temp/prezent/tests/test_data/simple.rst ~/temp/prezent/tests/test_data/simple.rst.html
#
ifeq (0, 1)
run22
# source /home/ahmad/install/uv.virtual.environments/p3.14.3/bin/activate
#bildumilo_test_run
: <<'COMMENT11'
uv self update
uv tool upgrade --all
uv tool install black
black . --check
black .
uv tool install ruff@latest
ruff check
ruff check --fix
uv tool install flake8
flake8 .
flake8 . --ignore=E501,W503,E203
uv tool install autopep8
autopep8 --in-place --aggressive --recursive --list-fixes --max-line-length 79 .
# build by uv
uv build
# uv publish dist/*
# uv publish --token <your_pypi_token>
# build by wheel
# python -m build
uv tool install build
uv tool install wheel
uv tool install twine
twine check --strict dist/*
twine upload dist/*
### Old
uv tool install ini2toml[full]
ini2toml --help
ini2toml -o setup.toml setup.cfg
COMMENT11
endif