FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
spatialmath-python/Makefile at fix/broken-docstring-examples · rai-opensource/spatialmath-python · GitHub
rai-opensource
/
spatialmath-python
Public
Notifications
You must be signed in to change notification settings
Fork
102
Star
642
Code
Issues
10
Pull requests
23
Discussions
Actions
Wiki
Security and quality
0
Insights
Additional navigation options
Code
Issues
Pull requests
Discussions
Actions
Wiki
Security and quality
Insights
Expand file tree
Breadcrumbs
spatialmath-python
/
Makefile
Copy path
More file actions
More file actions
Latest commit
History
History
History
41 lines (32 loc) · 762 Bytes
Breadcrumbs
spatialmath-python
/
Makefile
Copy path
File metadata and controls
41 lines (32 loc) · 762 Bytes
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
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
.FORCE
:
BLUE
=\033[0;34m
BLACK
=\033[0;30m
help
:
@echo
"
$(
BLUE
)
make test - run all unit tests
"
@echo
"
make coverage - run unit tests and coverage report
"
@echo
"
make docs - build Sphinx documentation
"
@echo
"
make dist - build dist files
"
@echo
"
make upload - upload to PyPI
"
@echo
"
make clean - remove dist and docs build files
"
@echo
"
make help - this message
$(
BLACK
)
"
test
:
pytest
coverage
:
coverage run --source=
'
spatialmath
'
-m pytest
coverage report
coverage html
open htmlcov/index.html
docs
: .FORCE
(cd docs
;
make html)
view
:
open docs/build/html/index.html
dist
: .FORCE
#
$(MAKE) test
python -m build
ls -lh dist
upload
: .FORCE
twine upload dist/
*
clean
: .FORCE
(cd docs
;
make clean)
-rm -r
*
.egg-info
-rm -r dist build
Back
|
FazBrowse Home
|
New Git URL