index : archiso32 | |
Archlinux32 iso tools | gitolite user |
summaryrefslogtreecommitdiff |
author | nl6720 <nl6720@gmail.com> | 2020-07-16 14:40:27 +0300 |
---|---|---|
committer | nl6720 <nl6720@gmail.com> | 2020-07-17 10:42:14 +0300 |
commit | ecd339278d767b9ff174964df4a75deb3e2788b0 (patch) | |
tree | 9e9b11515376570e59a58161af4d594bdc11caac | |
parent | 6f0a15c34ad35af61fe047331a909fbd0cad62e5 (diff) |
-rw-r--r-- | .gitlab-ci.yml | 14 | ||||
-rw-r--r-- | Makefile | 11 |
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 74ecdd3..e69ab5e 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -3,19 +3,9 @@ default: image: archlinux/base before_script: - - pacman --noconfirm -Syy - - pacman --noconfirm -S base-devel shellcheck + - pacman --noconfirm -Syu --needed base-devel shellcheck lint: stage: build script: - - shellcheck -s bash - archiso/mkarchiso - configs/{baseline,releng}/build.sh - configs/releng/airootfs/root/.automated_script.sh - configs/releng/airootfs/usr/local/bin/choose-mirror - scripts/run_archiso.sh - archiso/initcpio/install/* - - shellcheck -s dash - archiso/initcpio/hooks/* - archiso/initcpio/script/* + - make check @@ -13,6 +13,15 @@ DOC_DIR=$(DESTDIR)/usr/share/doc/archiso all: +check: + shellcheck -s bash archiso/mkarchiso \ + scripts/run_archiso.sh \ + $(INSTALL_FILES) \ + $(wildcard configs/*/build.sh) \ + configs/releng/airootfs/root/.automated_script.sh \ + configs/releng/airootfs/usr/local/bin/choose-mirror + shellcheck -s dash $(HOOKS_FILES) $(SCRIPT_FILES) + install: install-program install-initcpio install-examples install-doc install-program: @@ -32,4 +41,4 @@ install-doc: install -d $(DOC_DIR) install -m 644 -t $(DOC_DIR) $(DOC_FILES) -.PHONY: install install-program install-initcpio install-examples install-doc +.PHONY: check install install-program install-initcpio install-examples install-doc |