forked from STI/Astroport.ONE
22 lines
436 B
Makefile
22 lines
436 B
Makefile
MYOS ?= ../myos
|
|
MYOS_REPOSITORY ?= https://github.com/aynicos/myos
|
|
-include $(MYOS)/make/include.mk
|
|
$(MYOS):
|
|
-@git clone $(MYOS_REPOSITORY) $(MYOS)
|
|
|
|
.PHONY: all install shellcheck shellcheck-% tests
|
|
SHELL_FILES ?= $(wildcard .*/*.sh */*.sh */*/*.sh)
|
|
|
|
all: install tests
|
|
|
|
install:
|
|
./install.sh
|
|
|
|
tests: shellcheck
|
|
|
|
shellcheck:
|
|
shellcheck $(SHELL_FILES) ||:
|
|
|
|
shellcheck-%:
|
|
shellcheck $*/*.sh
|