summaryrefslogtreecommitdiffstats
path: root/vespalib/src/tests/tutorial/compare-tutorials.sh
blob: fe8cef1b87d9d87fc3996d8a961647473e655a4f (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
#!/bin/bash
# Copyright 2017 Yahoo Holdings. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
set -e

if [ -z "$SOURCE_DIRECTORY" ]; then
    SOURCE_DIRECTORY="."
fi

./vespalib_make_tutorial_app > tutorial_out.html
diff -u $SOURCE_DIRECTORY/tutorial.html tutorial_out.html || true
echo "IGNORED: vespalib_make_tutorial_app"