forked from molecule-ai/molecule-core
devrel: Makefile for gemini-cli demo (issue #534)
This commit is contained in:
parent
1e4c125959
commit
04f4ae9b72
15
docs/marketing/devrel/gemini-cli-demo/Makefile
Normal file
15
docs/marketing/devrel/gemini-cli-demo/Makefile
Normal file
@ -0,0 +1,15 @@
|
||||
.PHONY: run deps check-env
|
||||
|
||||
## Install Python dependency
|
||||
deps:
|
||||
pip install httpx
|
||||
|
||||
## Verify required env vars are set before running
|
||||
check-env:
|
||||
@test -n "$(PLATFORM_URL)" || (echo "Error: PLATFORM_URL is not set" && exit 1)
|
||||
@test -n "$(PLATFORM_TOKEN)" || (echo "Error: PLATFORM_TOKEN is not set" && exit 1)
|
||||
@test -n "$(GEMINI_API_KEY)" || (echo "Error: GEMINI_API_KEY is not set" && exit 1)
|
||||
|
||||
## Run the demo end-to-end
|
||||
run: deps check-env
|
||||
python demo.py
|
||||
Loading…
Reference in New Issue
Block a user