Add shellcheck log.
This commit is contained in:
parent
480d0a6472
commit
c40e941de2
3 changed files with 9 additions and 4 deletions
|
@ -2,5 +2,6 @@
|
|||
build-docker
|
||||
Makefile
|
||||
README.md
|
||||
shellcheck.log
|
||||
start
|
||||
start.tmpl
|
||||
|
|
1
.gitignore
vendored
1
.gitignore
vendored
|
@ -1,2 +1,3 @@
|
|||
start
|
||||
build-docker
|
||||
shellcheck.log
|
||||
|
|
11
Makefile
11
Makefile
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue