-
Notifications
You must be signed in to change notification settings - Fork 148
Expand file tree
/
Copy pathMakefile
More file actions
21 lines (16 loc) · 814 Bytes
/
Makefile
File metadata and controls
21 lines (16 loc) · 814 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
.PHONY: sef drop cert release tests
# Generate Saxon-JS SEF files for client-side XSLT transformations
sef:
./generate-sef.sh
# Wipe local data directories (datasets, Fuseki, SSL certs, uploads) — irreversible!
drop:
@read -p "Are you sure? [y/N] " ans && [ "$$ans" = "y" ] && sudo rm -rf datasets fuseki ssl uploads || echo "Aborted."
# Generate server SSL certificate using the .env config
cert:
server-cert-gen.sh .env nginx ssl
# Run the full Maven release process (prepare, deploy to Sonatype, merge to master/develop)
release:
./release.sh
# Run HTTP tests using owner and secretary certificates with passwords from secrets/
tests:
cd http-tests && ./run.sh ../ssl/owner/cert.pem $$(cat ../secrets/owner_cert_password.txt) ../ssl/secretary/cert.pem $$(cat ../secrets/secretary_cert_password.txt)