Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
L
local-cdn
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
eterfund
local-cdn
Commits
ef22f7f6
Commit
ef22f7f6
authored
Nov 25, 2017
by
Vitaly Lipatov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add check_code.sh script
parent
8ed35b1d
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
20 additions
and
0 deletions
+20
-0
check_code.sh
check_code.sh
+20
-0
No files found.
check_code.sh
0 → 100755
View file @
ef22f7f6
#!/bin/sh
# http://mywiki.wooledge.org/Bashism
# https://wiki.ubuntu.com/DashAsBinSh
epm assure shellcheck
||
exit
#epm assure checkbashisms || exit
EXCL
=
-eSC2086
,SC2039,SC2034,SC2068,SC2155
if
[
-n
"
$1
"
]
;
then
shellcheck
$EXCL
"
$1
"
#checkbashisms -f "$1"
exit
fi
#checkbashisms -f *.sh
#checkbashisms -f Makefile
shellcheck
$EXCL
*
.sh
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment