-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathTaskfile.yml
More file actions
34 lines (26 loc) · 783 Bytes
/
Taskfile.yml
File metadata and controls
34 lines (26 loc) · 783 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
# https://taskfile.dev
version: '3'
dotenv: ['.env', '{{.ENV}}/.env.', '{{.HOME}}/.env']
tasks:
build:
cmds:
- python youtube_extractor.py extract --skip-videos --skip-transcript
- python youtube_extractor.py generate-readme
- git add .
- git commit -m 'update'
- git push
silent: true
python:
cmds:
- python youtube-playlist-markdown.py --playlist=PL2yQDdvlhXf8iyzg7ziZI924PxC8a8M-U
venv:
desc: Create local python virtual env
cmds:
- rm -rf .venv/ || true
- python3 -m venv 3.11.0 .venv
- .venv/bin/python3 -m pip install --upgrade --quiet pip
- .venv/bin/pip3 install --quiet --requirement requirements.txt
sources:
- requirements.txt
generates:
- .venv/bin/activate