-
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathTaskfile.yaml
More file actions
32 lines (26 loc) · 618 Bytes
/
Copy pathTaskfile.yaml
File metadata and controls
32 lines (26 loc) · 618 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
version: '3'
tasks:
build-docker:
cmds:
- docker build -t openai-crystal-lib .
desc: Build the Docker image for the OpenAI Crystal library
install-local:
cmds:
- shards install
desc: Install the OpenAI Crystal library locally
build:
cmds:
- crystal build src/openai.cr
desc: Build the OpenAI Crystal library
test:
cmds:
- crystal spec
desc: Run tests for the OpenAI Crystal library
run:
cmds:
- crystal run src/openai.cr
desc: Run the OpenAI Crystal library
clean:
cmds:
- rm -rf lib bin
desc: Clean build artifacts