astrXbian/Makefile

31 lines
494 B
Makefile
Raw Normal View History

MYOS ?= ../myos
-include $(MYOS)/make/include.mk
.PHONY: all default install shellcheck shellcheck-% shellspec shellspec-% tests uninstall
2021-06-09 00:55:20 +02:00
SHELL_FILES ?= $(wildcard .*/*.sh */*.sh */*/*.sh)
$(MYOS):
git clone https://git.p2p.legal/aya/myos $(MYOS)
default: tests
all: install tests
install:
./install.sh
tests: shellcheck shellspec
shellcheck:
shellcheck $(SHELL_FILES) ||:
2021-05-09 14:50:17 +02:00
shellcheck-%:
shellcheck $*/*.sh
shellspec: shellspec-specs
2021-05-09 14:50:17 +02:00
shellspec-%:
2021-05-15 18:31:46 +02:00
shellspec -f tap $*
2021-05-09 19:27:07 +02:00
uninstall: