mirror of
https://github.com/YosysHQ/sby.git
synced 2026-04-25 23:43:33 +00:00
Add format target and yapf style
This commit is contained in:
parent
b172357161
commit
1a7819979f
2 changed files with 411 additions and 0 deletions
6
Makefile
6
Makefile
|
|
@ -23,6 +23,9 @@ help:
|
|||
@echo "make clean"
|
||||
@echo " cleanup"
|
||||
@echo ""
|
||||
@echo "make format"
|
||||
@echo " run formatting tool"
|
||||
@echo ""
|
||||
|
||||
install:
|
||||
mkdir -p $(DESTDIR)$(PREFIX)/bin
|
||||
|
|
@ -120,3 +123,6 @@ html:
|
|||
clean:
|
||||
$(MAKE) -C docs clean
|
||||
rm -rf docs/build sbysrc/sby sbysrc/__pycache__
|
||||
|
||||
format:
|
||||
yapf -ir sbysrc
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue