summaryrefslogtreecommitdiffstats
path: root/bin/git/hooks/pre-commit
blob: 202992f9e71c10687989b196a10aa5653a5cdcfc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!/bin/bash

# exit if any test fails
set -e

# update checksums
cd js
grunt js-unit
grunt cachebuster
cd ..

phpunit -c phpunit.xml
phpunit -c phpunit.integration.xml
git add appinfo/checksum.json