Sha256: 4a8ef73de96e5a32823d0f01a4092fd2688da90588c7174021a5b7aa2c2011e5

Contents?: true

Size: 368 Bytes

Versions: 10

Compression:

Stored size: 368 Bytes

Contents

#!/bin/sh
# "./check-style.sh files..." will validate files given on command line.
# "./check-style.sh" without arguments will validate all style files
# in the source directory

files=""

if [ $1 ]; then
  files=$@
else
  if [ "$srcdir" ]; then
    cd $srcdir
  fi

  files=*.xml
fi

for file in $files; do
  xmllint --relaxng styles.rng --noout $file || exit 1
done

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
gtksourceview3-2.0.2-x86-mingw32 vendor/local/share/gtksourceview-3.0/styles/check-style.sh
gtksourceview3-2.0.1-x86-mingw32 vendor/local/share/gtksourceview-3.0/styles/check-style.sh
gtksourceview3-2.0.0-x86-mingw32 vendor/local/share/gtksourceview-3.0/styles/check-style.sh
gtksourceview3-1.2.6-x86-mingw32 vendor/local/share/gtksourceview-3.0/styles/check-style.sh
gtksourceview3-1.2.5-x86-mingw32 vendor/local/share/gtksourceview-3.0/styles/check-style.sh
gtksourceview3-1.2.4-x86-mingw32 vendor/local/share/gtksourceview-3.0/styles/check-style.sh
gtksourceview3-1.2.3-x86-mingw32 vendor/local/share/gtksourceview-3.0/styles/check-style.sh
gtksourceview3-1.2.2-x86-mingw32 vendor/local/share/gtksourceview-3.0/styles/check-style.sh
gtksourceview3-1.2.1-x86-mingw32 vendor/local/share/gtksourceview-3.0/styles/check-style.sh
gtksourceview3-1.2.0-x86-mingw32 vendor/local/share/gtksourceview-3.0/styles/check-style.sh