Skip to content
This repository was archived by the owner on Jul 16, 2025. It is now read-only.

test: fix makefile targets to run examples #306

Merged
merged 1 commit into from
May 12, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,8 @@ coverage:

run-examples:
./example
./huggingface

make huggingface-models:
huggingface-models:
php examples/huggingface/_model-listing.php

ci: ci-stable
Expand Down
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,8 @@ See [the examples folder](examples) to run example implementations using this li
Depending on the example you need to export different environment variables
for API keys or deployment configurations or create a `.env.local` based on `.env` file.

To run all examples, use `make run-examples` or `php example` and `php huggingface` for all HuggingFace related examples.
To run all examples, use `make run-examples` or `php example` - to run a subgroup like all HuggingFace related examples
use `php example huggingface`.

For a more sophisticated demo, see the [Symfony Demo Application](https://github.com/php-llm/symfony-demo).

Expand Down