diff options
author | Björn Mattsson <bjorn@sunet.se> | 2022-11-18 08:39:22 +0100 |
---|---|---|
committer | Björn Mattsson <bjorn@sunet.se> | 2022-11-18 08:39:22 +0100 |
commit | 65081e7eba296b4ba54a8ae6c9ce4dc9c206ea7e (patch) | |
tree | 41c1530e3ef66f3a03c9df244a4ca7b123d62bc9 /Makefile.validate | |
parent | a7a75d1b1891d0cdda9aa7eeda26a1f0d9e99dad (diff) |
Added new dirs for import / removal
Diffstat (limited to 'Makefile.validate')
-rw-r--r-- | Makefile.validate | 13 |
1 files changed, 11 insertions, 2 deletions
diff --git a/Makefile.validate b/Makefile.validate index 22d487b9..cc4848bc 100644 --- a/Makefile.validate +++ b/Makefile.validate @@ -1,7 +1,16 @@ -VALIDATEXML=$(patsubst swamid-2.0/%.xml,.time/%.validate,$(wildcard swamid-2.0/*.xml)) +EDUGAIN=$(patsubst swamid-edugain/%.xml,.time/%.validate,$(wildcard swamid-edugain/*.xml)) +SWAMDI20=$(patsubst swamid-2.0/%.xml,.time/%.validate,$(wildcard swamid-2.0/*.xml)) +TESTING=$(patsubst swamid-testing/%.xml,.time/%.validate,$(wildcard swamid-testing/*.xml)) all: validate -validate: $(VALIDATEXML) +validate: $(EDUGAIN) $(SWAMDI20) $(TESTING) + +.time/%.validate: swamid-edugain/%.xml + @docker exec swamid-metadata-sp /var/www/scripts/importXML.bash /opt/metadata/$< Prod | grep -v "Import -> Added to db" > $@ + .time/%.validate: swamid-2.0/%.xml @docker exec swamid-metadata-sp /var/www/scripts/importXML.bash /opt/metadata/$< Prod | grep -v "Import -> Added to db" > $@ + +.time/%.validate: swamid-testing/%.xml + @docker exec swamid-metadata-sp /var/www/scripts/importXML.bash /opt/metadata/$< Prod | grep -v "Import -> Added to db" > $@ |