mirror of
https://github.com/koalaman/shellcheck
synced 2025-08-20 05:13:49 -07:00
This commit is contained in:
parent
84d8530f14
commit
7cf7f5acad
11 changed files with 63 additions and 2 deletions
|
@ -35,13 +35,13 @@ do
|
|||
|
||||
for dir in windows.*/
|
||||
do
|
||||
( cd "$dir" && zip "../shellcheck-$tag.zip" * )
|
||||
( cd "$dir" && zip "../shellcheck-$tag.zip" ./* )
|
||||
done
|
||||
|
||||
for dir in {linux,darwin}.*/
|
||||
do
|
||||
base="${dir%/}"
|
||||
( cd "$dir" && tar -cJf "../shellcheck-$tag.$base.tar.xz" --transform="s:^:shellcheck-$tag/:" * )
|
||||
( cd "$dir" && tar -cJf "../shellcheck-$tag.$base.tar.xz" --transform="s:^:shellcheck-$tag/:" ./* )
|
||||
done
|
||||
done
|
||||
|
||||
|
|
7
.trunk/.gitignore
vendored
Normal file
7
.trunk/.gitignore
vendored
Normal file
|
@ -0,0 +1,7 @@
|
|||
*out
|
||||
*logs
|
||||
*actions
|
||||
*notifications
|
||||
plugins
|
||||
user_trunk.yaml
|
||||
user.yaml
|
10
.trunk/config/.markdownlint.yaml
Normal file
10
.trunk/config/.markdownlint.yaml
Normal file
|
@ -0,0 +1,10 @@
|
|||
# Autoformatter friendly markdownlint config (all formatting rules disabled)
|
||||
default: true
|
||||
blank_lines: false
|
||||
bullet: false
|
||||
html: false
|
||||
indentation: false
|
||||
line_length: false
|
||||
spaces: false
|
||||
url: false
|
||||
whitespace: false
|
2
.trunk/config/.shellcheckrc
Normal file
2
.trunk/config/.shellcheckrc
Normal file
|
@ -0,0 +1,2 @@
|
|||
enable=all
|
||||
source-path=SCRIPTDIR
|
14
.trunk/config/svgo.config.js
Normal file
14
.trunk/config/svgo.config.js
Normal file
|
@ -0,0 +1,14 @@
|
|||
module.exports = {
|
||||
plugins: [
|
||||
{
|
||||
name: "preset-default",
|
||||
params: {
|
||||
overrides: {
|
||||
removeViewBox: false, // https://github.com/svg/svgo/issues/1128
|
||||
sortAttrs: true,
|
||||
removeOffCanvasPaths: true,
|
||||
},
|
||||
},
|
||||
},
|
||||
],
|
||||
};
|
23
.trunk/trunk.yaml
Normal file
23
.trunk/trunk.yaml
Normal file
|
@ -0,0 +1,23 @@
|
|||
version: 0.1
|
||||
cli:
|
||||
version: 1.0.1
|
||||
plugins:
|
||||
sources:
|
||||
- id: trunk
|
||||
ref: v0.0.5
|
||||
uri: https://github.com/trunk-io/plugins
|
||||
lint:
|
||||
enabled:
|
||||
- markdownlint@0.32.2
|
||||
- hadolint@2.10.0
|
||||
- git-diff-check
|
||||
- shfmt@3.5.0
|
||||
- svgo@3.0.0
|
||||
- shellcheck@0.8.0
|
||||
- actionlint@1.6.22
|
||||
- prettier@2.7.1
|
||||
- gitleaks@8.15.0
|
||||
runtimes:
|
||||
enabled:
|
||||
- go@1.18.3
|
||||
- node@16.14.2
|
|
@ -5,6 +5,7 @@ set -xe
|
|||
chmod +x striptests && ./striptests
|
||||
mkdir "$TARGETNAME"
|
||||
cabal update
|
||||
# shellcheck disable=SC2086 # Intended splitting of CABALOPTS
|
||||
( IFS=';'; cabal build $CABALOPTS )
|
||||
find . -name shellcheck -type f -exec mv {} "$TARGETNAME/" \;
|
||||
ls -l "$TARGETNAME"
|
||||
|
|
|
@ -5,6 +5,7 @@ set -xe
|
|||
chmod +x striptests && ./striptests
|
||||
mkdir "$TARGETNAME"
|
||||
cabal update
|
||||
# shellcheck disable=SC2086 # Intended splitting of CABALOPTS
|
||||
( IFS=';'; cabal build $CABALOPTS --enable-executable-static )
|
||||
find . -name shellcheck -type f -exec mv {} "$TARGETNAME/" \;
|
||||
ls -l "$TARGETNAME"
|
||||
|
|
|
@ -6,6 +6,7 @@ cd /scratch
|
|||
chmod +x striptests && ./striptests
|
||||
mkdir "$TARGETNAME"
|
||||
# This script does not cabal update because compiling anything new is slow
|
||||
# shellcheck disable=SC2086 # Intended splitting of CABALOPTS
|
||||
( IFS=';'; cabal build $CABALOPTS --enable-executable-static )
|
||||
find . -name shellcheck -type f -exec mv {} "$TARGETNAME/" \;
|
||||
ls -l "$TARGETNAME"
|
||||
|
|
|
@ -5,6 +5,7 @@ set -xe
|
|||
chmod +x striptests && ./striptests
|
||||
mkdir "$TARGETNAME"
|
||||
cabal update
|
||||
# shellcheck disable=SC2086 # Intended splitting of CABALOPTS
|
||||
( IFS=';'; cabal build $CABALOPTS --enable-executable-static )
|
||||
find . -name shellcheck -type f -exec mv {} "$TARGETNAME/" \;
|
||||
ls -l "$TARGETNAME"
|
||||
|
|
|
@ -9,6 +9,7 @@ set -xe
|
|||
chmod +x striptests && ./striptests
|
||||
mkdir "$TARGETNAME"
|
||||
cabal update
|
||||
# shellcheck disable=SC2086 # Intended splitting of CABALOPTS
|
||||
( IFS=';'; cabal build $CABALOPTS )
|
||||
find dist*/ -name shellcheck.exe -type f -ls -exec mv {} "$TARGETNAME/" \;
|
||||
ls -l "$TARGETNAME"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue