mirror of
https://github.com/photoprism/photoprism.git
synced 2026-01-23 02:24:24 +00:00
Dev: Update "dep-codex" target in Makefile
Signed-off-by: Michael Mayer <michael@photoprism.app>
This commit is contained in:
parent
886794874d
commit
7bed1cd46a
1 changed files with 6 additions and 1 deletions
7
Makefile
7
Makefile
|
|
@ -253,7 +253,12 @@ dep-js:
|
|||
# (cd frontend && npx playwright install chromium)
|
||||
dep-codex:
|
||||
@echo "Installing latest Codex CLI..."
|
||||
sudo npm i -g "@openai/codex@latest"
|
||||
@[ -n "$(CODEX_HOME)" ] && [ "$(CODEX_HOME)" != "/" ] && install -d -m 700 -- "$(CODEX_HOME)" || true
|
||||
@if command -v sudo >/dev/null 2>&1; then \
|
||||
sudo npm install -g --location=global --no-fund --no-audit "@openai/codex@latest"; \
|
||||
else \
|
||||
npm install -g --location=global --no-fund --no-audit "@openai/codex@latest"; \
|
||||
fi
|
||||
dep-go:
|
||||
go build -v ./...
|
||||
dep-upgrade:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue