Skip to content

Commit 814160e

Browse files
committed
feat: add .env file creation step in setup task
1 parent 0e7c3af commit 814160e

1 file changed

Lines changed: 7 additions & 0 deletions

File tree

Taskfile.yaml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,13 @@ tasks:
1818
- uv run python -m ipykernel install --sys-prefix --name joint-client-python --display-name "Python (joint-client-python)"
1919
- uv run pre-commit install --hook-type pre-commit --hook-type commit-msg
2020
- task: install:typos
21+
- cmd: |
22+
if [ -f .env ]; then
23+
echo ".env already exists; leaving it untouched"
24+
else
25+
cp .env.sample .env
26+
echo "Created .env from .env.sample"
27+
fi
2128
- cmd: 'echo "Activate virtual environment with: . .venv/bin/activate"'
2229

2330
lint:

0 commit comments

Comments
 (0)