Files
yield-smart-app/justfile
zhenghu 1c97a065a7 chore: 将项目名称统一为 yield-smart-app
- 更新 pyproject.toml 中的包名
  - 同步 uv.lock 中的包名
  - 更新 README.md 中的项目目录和 Docker 镜像名称
  - 更新 justfile 和 main.py 中的引用名称
2026-04-13 17:51:36 +08:00

31 lines
564 B
Makefile

# Justfile for yield-smart-app 农业智能决策系统
# Use `just <command>` to run tasks
# Default task: show available commands
default:
just --list
# Run the Streamlit app
run:
uv run streamlit run app.py
# Install dependencies
install:
uv add streamlit ruff plotly pandas numpy
# Format code with ruff
format:
uv run ruff format .
# Check code with ruff
check:
uv run ruff check .
# Run all checks and formatting
lint:
just format && just check
# Clean up cache files
clean:
rm -rf __pycache__ .ruff_cache .streamlit_cache