mirror of
https://github.com/pbakaus/impeccable.git
synced 2026-09-20 18:16:30 +03:00
fix(test): un-ignore fixture dist/ trees so they actually track
Top-level .gitignore excludes dist/ broadly, which silently dropped the multipage-with-generator fixture's files/dist/*.html from the previous commit. The fixture tests need those files on disk to copy into the tmp repo and assert is-generated behavior — without them, the test suite fails on a fresh clone. Added a negation pattern that re-includes tests/framework-fixtures/**/dist/ paths. The real dist/ output directories elsewhere in the repo remain ignored. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Opus 4.7
parent
c9c152f0f0
commit
444f881295
@@ -9,6 +9,11 @@ package-lock.json
|
||||
dist/
|
||||
build/
|
||||
|
||||
# Test fixtures simulate "generated dist" trees; keep them tracked so tests
|
||||
# can copy them into tmp git repos and assert is-generated behavior.
|
||||
!tests/framework-fixtures/**/dist/
|
||||
!tests/framework-fixtures/**/dist/**
|
||||
|
||||
# Build artifacts
|
||||
*.log
|
||||
|
||||
|
||||
@@ -0,0 +1,8 @@
|
||||
<!DOCTYPE html>
|
||||
<html><head><title>Docs · One</title></head>
|
||||
<body>
|
||||
<main class="page">
|
||||
<h1 class="hero-title">Docs One</h1>
|
||||
<p class="hero-hook">Generated docs page.</p>
|
||||
</main>
|
||||
</body></html>
|
||||
@@ -0,0 +1,8 @@
|
||||
<!DOCTYPE html>
|
||||
<html><head><title>Home</title></head>
|
||||
<body>
|
||||
<main class="page">
|
||||
<h1 class="hero-title">Home</h1>
|
||||
<p class="hero-hook">Generated homepage.</p>
|
||||
</main>
|
||||
</body></html>
|
||||
Reference in New Issue
Block a user