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