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 build-docker
Makefile Makefile
README.md README.md
shellcheck.log
start start
start.tmpl start.tmpl

1
.gitignore vendored
View file

@ -1,2 +1,3 @@
start start
build-docker 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" $< > $@ sed -e "s/{TAG}/$(TAG)/g" -e "s/{INSTALLATION_NAME}/$(INSTALLATION_NAME)/g" $< > $@
chmod +x $@ chmod +x $@
shellcheck: $(START_SCRIPT) shellcheck.log: $(START_SCRIPT)
shellcheck $< @echo "# Begin shellcheck log" > $@
shellcheck $< >> $@
shellcheck: shellcheck.log
check: shellcheck check: shellcheck
clean: clean:
$(RM) build-docker $(START_SCRIPT) $(RM) build-docker shellcheck.log $(START_SCRIPT)
install: build install: build
install -D --mode=755 $(START_SCRIPT) $(PREFIX)/bin/$(INSTALLATION_NAME) install -D --mode=755 $(START_SCRIPT) $(PREFIX)/bin/$(INSTALLATION_NAME)
.PHONY: shellcheck check clean .PHONY: check clean