Add shellcheck log.

This commit is contained in:
redxef 2021-12-22 17:41:41 +01:00
parent 480d0a6472
commit c40e941de2
3 changed files with 9 additions and 4 deletions

View file

@ -2,5 +2,6 @@
build-docker
Makefile
README.md
shellcheck.log
start
start.tmpl

1
.gitignore vendored
View file

@ -1,2 +1,3 @@
start
build-docker
shellcheck.log

View file

@ -16,15 +16,18 @@ $(START_SCRIPT): $(START_SCRIPT_SRC)
sed -e "s/{TAG}/$(TAG)/g" -e "s/{INSTALLATION_NAME}/$(INSTALLATION_NAME)/g" $< > $@
chmod +x $@
shellcheck: $(START_SCRIPT)
shellcheck $<
shellcheck.log: $(START_SCRIPT)
@echo "# Begin shellcheck log" > $@
shellcheck $< >> $@
shellcheck: shellcheck.log
check: shellcheck
clean:
$(RM) build-docker $(START_SCRIPT)
$(RM) build-docker shellcheck.log $(START_SCRIPT)
install: build
install -D --mode=755 $(START_SCRIPT) $(PREFIX)/bin/$(INSTALLATION_NAME)
.PHONY: shellcheck check clean
.PHONY: check clean