Welcome to mirror list, hosted at ThFree Co, Russian Federation.

check-handlebars-templates.sh - github.com/nextcloud/activity.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: ae1e639462f3b5fb17d27c19ee040135737eb3b1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#!/usr/bin/env bash

REPODIR=`git rev-parse --show-toplevel`

cd $REPODIR

bash compile-handlebars-templates.sh || exit 1

if [[ $(git diff --name-only) ]]; then
    echo "Please submit your compiled handlebars templates"
    echo
    git diff
    exit 1
fi

echo "All up to date! Carry on :D"
exit 0