📝 docs: Fix Task 7 verification greps for Windows Git-Bash
This commit is contained in:
@@ -509,13 +509,25 @@ Expected: completes with no errors. The output file `static/dist/theme.css` is u
|
||||
|
||||
- [ ] **Step 2: Verify the services-list CSS classes are in the built output**
|
||||
|
||||
Run: `grep -c "services-list__heading" static/dist/theme.css`
|
||||
Expected: `1` or more (the class should appear in the built CSS).
|
||||
The build unwraps CSS-nesting `&__heading` into `__heading.services-list` (no literal `.services-list__heading` is emitted). Use a fixed-string search that matches the un-nested form:
|
||||
|
||||
```bash
|
||||
grep -cF "services-list__heading" static/dist/theme.css
|
||||
```
|
||||
|
||||
Expected: `1` or more. (Note: on Windows Git-Bash, prefer `grep -F` because POSIX `\\:` escapes are stripped before reaching grep.)
|
||||
|
||||
- [ ] **Step 3: Verify the dynamic grid classes are in the built output**
|
||||
|
||||
Run: `grep -E "lg\\\\:grid-cols-(2|3|4) " static/dist/theme.css | wc -l`
|
||||
Expected: `3` (all three column counts should be present).
|
||||
Same Windows-shell caveat. Use fixed-string search:
|
||||
|
||||
```bash
|
||||
grep -cF "lg\:grid-cols-2" static/dist/theme.css
|
||||
grep -cF "lg\:grid-cols-3" static/dist/theme.css
|
||||
grep -cF "lg\:grid-cols-4" static/dist/theme.css
|
||||
```
|
||||
|
||||
Expected: each returns `1` or more.
|
||||
|
||||
- [ ] **Step 4: Commit the rebuilt dist**
|
||||
|
||||
|
||||
Reference in New Issue
Block a user