aboutsummaryrefslogtreecommitdiffstats
path: root/vespalib/src/tests/tutorial/compare-tutorials.sh
blob: 152394fce8399859f80100c734060654b345ad18 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
#!/bin/bash
# Copyright Yahoo. 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"