Remove file ending of shellcheck_all and downgrade_dependencies script

This commit is contained in:
Daniel Schischkin 2022-02-03 18:14:57 +00:00 committed by Ian Jackson
parent 73bb6f342e
commit 4509f8b9d4
5 changed files with 8 additions and 7 deletions

View File

@ -14,5 +14,5 @@ cargo clippy --all-features --all-targets -- -D warnings
echo '+cargo test --all' echo '+cargo test --all'
cargo test --all cargo test --all
echo '+./maint/shellcheck_all.sh' echo '+./maint/shellcheck_all'
./maint/shellcheck_all.sh ./maint/shellcheck_all

View File

@ -17,7 +17,8 @@ shellcheck:
stage: check stage: check
image: koalaman/shellcheck-alpine image: koalaman/shellcheck-alpine
script: script:
- ./maint/shellcheck_all.sh - apk add git
- ./maint/shellcheck_all
rust-latest: rust-latest:
stage: build stage: build
@ -99,7 +100,7 @@ minimal-versions:
image: rust:1.53 image: rust:1.53
script: script:
- rustup install nightly - rustup install nightly
- ./maint/downgrade_dependencies.sh - ./maint/downgrade_dependencies
- cargo build --verbose --target x86_64-unknown-linux-gnu --all-features - cargo build --verbose --target x86_64-unknown-linux-gnu --all-features
- cargo test --verbose --target x86_64-unknown-linux-gnu --all-features - cargo test --verbose --target x86_64-unknown-linux-gnu --all-features
tags: tags:

3
maint/shellcheck_all Executable file
View File

@ -0,0 +1,3 @@
#!/bin/sh
git grep -P --line-number '^#! ?/bin/(:?ba)?sh\b' | sed -n 's/:1:[^:]*$//p' | xargs shellcheck

View File

@ -1,3 +0,0 @@
#!/bin/sh
shellcheck ./**/*.sh