Skip to content

Commit 0472dbe

Browse files
authored
Enhance resource development instructions in CLAUDE.md
Added custom invocation and standard tests for resource development.
1 parent 7fe86d9 commit 0472dbe

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

CLAUDE.md

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,14 +51,21 @@ Note: On the default MacOS execution environment for AI it's `sysctl -n hw.ncpu`
5151

5252
Build requires Ghostscript (`gs`) in PATH and Perl.
5353

54-
Quick iteration when developing a resource:
54+
Quick iteration when developing a resource (with custom invocation):
5555

5656
```bash
5757
make build/resource/Resource/uk.co.terryburton.bwipp/qrcode && \
5858
gs -q -dNOSAFER -dNOPAUSE -dBATCH -sDEVICE=nullpage -I build/resource/Resource \
5959
-c '10 10 moveto (Hello World) () /qrcode /uk.co.terryburton.bwipp findresource exec'
6060
```
6161

62+
Or (with standard tests):
63+
64+
```
65+
make build/resource/Resource/uk.co.terryburton.bwipp/qrcode && \
66+
gs -q -dNOSAFER -dNOPAUSE -dBATCH -sDEVICE=nullpage -I build/resource/Resource \
67+
-f tests/ps_tests/test_utils.ps -f tests/ps_tests/qrcode.ps.test
68+
```
6269

6370
### Terminology
6471

0 commit comments

Comments
 (0)