Merge branch 'it4i-salomon'

This commit is contained in:
Lukáš Krupčík 2018-10-02 15:52:20 +02:00
commit e3338cde79
3 changed files with 34 additions and 14 deletions

View File

@ -1,7 +1,6 @@
stages:
- test
docs:
stage: test
image: davidhrbac/docker-mdcheck:latest
@ -22,16 +21,11 @@ other_files:
- find . -type f -not -path "*.git*" ! -name "*.eb" ! -name "*.patch*" ! -name ".git*" ! -name "LICENSE" ! -name "*.md" ! -name "*.sh"
- find . -type f -not -path "*.git*" ! -name "*.eb" ! -name "*.patch*" ! -name ".git*" ! -name "LICENSE" ! -name "*.md" ! -name "*.sh" -exec false {} +
spell_check:
tage: test
image: davidhrbac/docker-npmcheck:latest
script:
- npm i markdown-spellcheck -g
- mdspell '*.md' -rns --en-us
shellcheck:
python_check:
stage: test
image: davidhrbac/docker-shellcheck:latest
image: davidhrbac/docker-pycheck:latest
script:
- which shellcheck || apt-get update && apt-get install -y shellcheck
- find . -name *.sh -not -path "*.git*" -exec shellcheck {} +
- which autopep8 || pip install autopep8
- for i in `find . -type f -name "*.eb"`; do autopep8 --in-place --aggressive --aggressive "$i"; done
only:
- master

View File

@ -0,0 +1,26 @@
# IT4Innovations
easyblock = 'ConfigureMake'
name = "Coreutils"
version = "8.30"
homepage = 'http://www.gnu.org/software/coreutils/'
description = """The GNU Core Utilities are the basic file, shell and text manipulation utilities of the
GNU operating system. These are the core utilities which are expected to exist on every operating system.
"""
toolchain = {'name': 'GCCcore', 'version': '8.1.0'}
toolchainopts = {'optarch': True, 'pic': True}
source_urls = [GNU_SOURCE]
sources = [SOURCELOWER_TAR_XZ]
builddependencies = [('binutils', '2.30')]
sanity_check_paths = {
'files': ['bin/sort', 'bin/echo', 'bin/du', 'bin/date', 'bin/true'],
'dirs': []
}
moduleclass = 'tools'

View File

@ -23,8 +23,8 @@ echo ""
echo "Checking..."
for x in `cat develop`; do
X=$(echo $x | cut -d ';' -f 1)
Xname=$(echo $x | cut -d ';' -f 2)
X=$(echo "$x" | cut -d ';' -f 1)
Xname=$(echo "$x" | cut -d ';' -f 2)
for y in `cat it4i | cut -d ';' -f 1`; do
if [ "$X" = "$y" ]; then
printf "$format" "${red}$X${end}" "${red}$Xname${end}"