Re: [yast-devel] ShellCheck available in Travis and YaST:Head

2019-01-08 Thread Ancor Gonzalez Sosa
On 1/8/19 1:30 PM, Ladislav Slezak wrote: > > Hi, > > some time ago I fixed a typo in an yast2-packager shell script. After fixing > it [1] I > remembered that I had looked at the ShellCheck tool in the past. It is a > similar tool > to Rubocop but designed for shell scripts. There is even an o

Re: [yast-devel] ShellCheck available in Travis and YaST:Head

2019-01-08 Thread Martin Vidner
On Tue, Jan 08, 2019 at 01:30:45PM +0100, Ladislav Slezak wrote: > Hi, TL;DR: .travis.yml: - docker run -it -e TRAVIS=1 -e TRAVIS_JOB_ID="$TRAVIS_JOB_ID" yast-packager-image shellcheck src/scripts/*.sh Thanks for this, Lada! > Last but not least, there is a good documentation (wiki) describing

[yast-devel] ShellCheck available in Travis and YaST:Head

2019-01-08 Thread Ladislav Slezak
Hi, some time ago I fixed a typo in an yast2-packager shell script. After fixing it [1] I remembered that I had looked at the ShellCheck tool in the past. It is a similar tool to Rubocop but designed for shell scripts. There is even an online version if you want to do a quick test without ins