summaryrefslogtreecommitdiff
path: root/Makefile
blob: 884f8ed8c76a90ec867543e6f3e374497e59a1bd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
test:	mdtest idptest

tag: 	test
	./scripts/bump-tag

bootstrap-trust:
	./scripts/update-trust

mdtest:
	@for dir in test-sp test-idp production-sp production-idp; do find metadata/$$dir -name \*.xml -exec xmllint --xinclude --nowarning --noout --path schema --schema schema.xsd \{\} \; ; done

idptest:
	@if (rgrep -q IDPSSODescriptor metadata/*-sp); then  echo "Hittade en IDP band SP:na !!!"; exit 1; fi
	

update: update-git
	./scripts/verify-tag && ./scripts/update-trust && rsync -avz --delete metadata/ /opt/metadata/

update-git:
	git checkout master && git reset --hard && git pull