diff options
author | tdro <tdro@noreply.example.com> | 2024-02-24 18:33:47 -0500 |
---|---|---|
committer | tdro <tdro@noreply.example.com> | 2024-02-24 18:33:47 -0500 |
commit | b334453f50db6a571714d59e4d8dbcc84744f675 (patch) | |
tree | da52308541d8253cc55dec03efa0d01a2f51c262 | |
parent | e05da6316590f7b355b2526c2da78d4a3682b65d (diff) | |
download | canory-b334453f50db6a571714d59e4d8dbcc84744f675.tar.gz canory-b334453f50db6a571714d59e4d8dbcc84744f675.tar.bz2 canory-b334453f50db6a571714d59e4d8dbcc84744f675.zip |
Makefile: Add link parity test entry point
Build a substitute directory
CSS is safe to test
Test HTML indices
-rw-r--r-- | Makefile | 13 |
1 files changed, 13 insertions, 0 deletions
@@ -15,6 +15,11 @@ build: # Build everything make build-js make build-site +build-sub: # Build everything into substitute directory + make build + mkdir public/m + mv public/* public/m || true + build-config: # Build configuration files yj -yj -i < config.yaml > config.json yj -yt -i < config.yaml > config.toml @@ -77,6 +82,7 @@ build-icons: # Build icons test: # Test everything make test-html + make test-css make test-xsl make test-xml make test-rss @@ -89,10 +95,14 @@ test-html: # Test HTML public/index.html \ public/default/index.html +test-html-indices: # Test HTML indices + find public/ -type f -name "index.html" -exec vnu --errors-only {} \; + test-css: # Test CSS vnu \ --css \ assets/css/default.css \ + assets/css/default-fast.css \ assets/css/default-simple.css \ assets/css/default-syntax.css @@ -122,6 +132,9 @@ test-end: # Test front end test-bed: # Test bed run deno run --allow-all tests/test.ts +test-crawl: # Test link parity + deno run --allow-all tests/crawl.ts + clean: # Clean everything make clean-tests |