mirror of
https://github.com/tillitis/tillitis-key1.git
synced 2025-08-02 03:36:06 -04:00
build: Check app code formatting from application_fpga/Makefile
This commit is contained in:
parent
ba17a2b29e
commit
07e487733b
1 changed files with 1 additions and 0 deletions
|
@ -331,6 +331,7 @@ fmt: $(FPGA_VERILOG_SRCS) $(SIM_VERILOG_SRCS) $(VERILATOR_VERILOG_SRCS) $(VERILO
|
|||
checkfmt: $(FPGA_VERILOG_SRCS) $(SIM_VERILOG_SRCS) $(VERILATOR_VERILOG_SRCS) $(VERILOG_SRCS)
|
||||
make -C fw/tk1 checkfmt
|
||||
make -C fw/testfw checkfmt
|
||||
make -C apps checkfmt
|
||||
$(FORMAT) $(CHECK_FORMAT_FLAGS) $^ 2>&1 | \
|
||||
grep "Needs formatting" && exit 1 || true
|
||||
.PHONY: checkfmt
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue