Permalink
Browse files

Add tasks to check a single project

  • Loading branch information...
1 parent de73f0d commit 1162bbeefbd740312fa7710a6e525734b71b7032 @jamesaoverton jamesaoverton committed Jan 12, 2017
Showing with 10 additions and 0 deletions.
  1. +10 −0 Makefile
View
@@ -73,6 +73,11 @@ validate:
kwalify -f tools/config.schema.yml config/*.yml \
| awk '{print} /INVALID/ {status=1} END {exit status}'
+# Validate a single configuration file.
+.PHONY: validate-%
+validate-%:
+ kwalify -f tools/config.schema.yml config/$*.yml
+
### Generate Apache Config
#
@@ -119,6 +124,11 @@ temp/obo/%/.htaccess: config/%.yml
| xargs -t ln -s
rm -f temp/obo/$*/$*
+# Build temp files for a single project.
+.PHONY: build-%
+build-%: validate-% temp/obo/%/.htaccess temp/base_redirects/%.htaccess temp/products/%.htaccess temp/terms/%.htaccess
+ @echo "Built files in temp/$*"
+
backup/:
mkdir $@

0 comments on commit 1162bbe

Please sign in to comment.