Skip to content
Snippets Groups Projects
Commit f15e231f authored by Zygmunt Krynicki's avatar Zygmunt Krynicki
Browse files

Makefile: add watch-check-go-test and watch-check-go targets


Signed-off-by: default avatarZygmunt Krynicki <zygmunt.krynicki@huawei.com>
parent 2a0ffd55
No related branches found
No related tags found
No related merge requests found
......@@ -129,3 +129,7 @@ cmd/sysotad/sysota-boot-config.InstallDir = $(bindir)
cmd/sysotad/sysota-boot-config.SymlinkTarget = sysotad
install: cmd/sysotad/sysota-boot-config.SymlinkTarget = $(cmd/sysotad/sysotad.InstallDir)/sysotad
$(eval $(call ZMK.Expand,Symlink,cmd/sysotad/sysota-boot-config))
.PHONY: watch-check%
watch-check-go-test watch-check: watch-check%:
find -name '*.go' | entr -c $(MAKE) check$*
......@@ -45,6 +45,7 @@
"EEPROM", // Electrically-erasable, programmable read only memory
"Embest", // company name
"endef", // end definition, part of define ... endef syntax in Make
"entr", // command line tool
"errcheck", // missing error check tool for Go
"esac", // shell case ... esac construct
"eval", // make and shell evaluate function
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment