-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathTaskfile.yml
More file actions
58 lines (42 loc) · 972 Bytes
/
Taskfile.yml
File metadata and controls
58 lines (42 loc) · 972 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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
version: "3"
#
# global vars: https://taskfile.dev/#/usage?id=variables
#
vars:
VAR1: "some-var"
# global env:
env:
ENV1: testing
################################################################################################
tasks:
run:
cmds:
- |
python3 run.py \
--token=${DISCORD_TOKEN} \
--http_proxy=${HTTP_PROXY}
dir: src/discord_bot/
################################################################################################
install:
cmds:
- poetry install
add:
cmds:
- poetry add click discord.py
add:dev:
cmds:
- poetry add ${PACKAGE} --dev
update:
cmds:
- poetry update
config:
cmds:
- poetry config virtualenvs.in-project false --local
- poetry config virtualenvs.create false --local
env:
cmds:
- poetry
- poetry env list
- poetry cache list
- poetry debug info
- poetry debug resolve