-
Notifications
You must be signed in to change notification settings - Fork 1
/
Taskfile.yml
50 lines (42 loc) · 1.14 KB
/
Taskfile.yml
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
# ollamatea Taskfile.yml
# Copyright (c) 2024 Neomantra Corp
version: '3'
tasks:
default:
desc: 'Default task runs the "build" task'
deps:
- build
list:
desc: 'Lists available tasks'
cmds:
- task --list-all
###############################################################################
tidy:
desc: 'Go tidy all the things'
cmds:
- go mod tidy
build:
desc: 'Build all the things'
deps: [tidy]
cmds:
- go build
- go build -o bin/ot-ansi-to-png cmd/ot-ansi-to-png/main.go
- go build -o bin/ot-embed cmd/ot-embed/main.go
- go build -o bin/ot-model-chooser cmd/ot-model-chooser/main.go
- go build -o bin/ot-png-prompt cmd/ot-png-prompt/main.go
- go build -o bin/ot-simplegen cmd/ot-simplegen/main.go
- go build -o bin/ot-timechart cmd/ot-timechart/main.go
clean:
desc: 'Clean all the things'
cmds:
- rm bin/ot-ansi-to-png
- rm bin/ot-embed
- rm bin/ot-model-chooser
- rm bin/ot-png-prompt
- rm bin/ot-simplegen
- rm bin/ot-timechart
test:
desc: 'Test all the things'
deps: [build]
cmds:
- go test