Navigation Menu

Skip to content

Commit

Permalink
showxsd script
Browse files Browse the repository at this point in the history
git-svn-id: https://slps.svn.sourceforge.net/svnroot/slps@127 ab42f6e0-554d-0410-b580-99e487e6eeb2
  • Loading branch information
grammarware committed Aug 5, 2008
1 parent ae3f24d commit 1aa42d0
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 0 deletions.
11 changes: 11 additions & 0 deletions shared/tools/showxsd
@@ -0,0 +1,11 @@
#!/bin/sh

if [ $# -ne 1 ]; then
echo "Usage: showxsd <xml-schema>"
exit 1
elif [ ! -r $1 ]; then
echo "Oops: $1 not found or not readable."
exit 1
else
swipl -q -f `dirname $0`/../prolog/showxsd.pro -- $1
fi
2 changes: 2 additions & 0 deletions shared/xsd/Makefile
@@ -1,11 +1,13 @@
validator = ../../download/msv/msv.jar
viewer = ../tools/showxsd

build:

test:

check:
ls -1 *.xsd | xargs -n1 java -jar ${validator}
ls -1 *.xsd | xargs -n1 ${viewer}

clean:
rm -rf bin obj
Expand Down

0 comments on commit 1aa42d0

Please sign in to comment.