Install opencode and omp with Bun

- Combine Bun installs for opencode-ai and @oh-my-pi/pi-coding-agent
- Make Makefile include .env optional and silence sed errors
This commit is contained in:
2026-06-22 20:33:01 +08:00
parent f77b2b1e99
commit a2eba73cef
2 changed files with 9 additions and 19 deletions

View File

@@ -1,6 +1,6 @@
# 引用 .env 文件中的变量
include .env
export $(shell sed 's/=.*//' .env)
# 引用 .env 文件中的变量(文件不存在时也不报错)
-include .env
export $(shell sed 's/=.*//' .env 2>/dev/null)
.PHONY: help build up down restart logs shell clean ssh