summaryrefslogtreecommitdiff
path: root/scripts/update-and-validate.sh
blob: 800ccc8faae508f69d8f2133982653583d1141e3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
#!/bin/sh
# Used on release-check.swamid.se

update()
{
#	echo "git pull"
	git pull -q || return $?

	/var/www/scripts/updateWebb.bash

	make -f Makefile.validate

#	echo

	#echo "make aggregate"
	#make aggregate || return $?
	#echo

	#echo "make (2007) web site for backwards compat"
	#env SWAMID_MK_CONFIG=swamid2007.mk make web || return $?
	#echo

        #echo "make (2016)"
        #env SWAMID_MK_CONFIG=swamid2016.mk make || return $?
        #echo

        #echo "make (2016 - test)"
        #env SWAMID_MK_CONFIG=swamid2016-test.mk make # Allow this to fail
        #echo
}

cd /opt/swamid-metadata || exit 1
update