-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathBakefile.yaml
36 lines (35 loc) · 919 Bytes
/
Bakefile.yaml
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
version: 1.3.2
metadata:
author: kampanosg
variables:
name: bake
defaults:
- test
recipes:
test:
description: "test the code with go test"
steps:
- "go test -cover -parallel 1 ./..."
build:
description: "builds the code with go"
steps:
- "^ clean"
- "go build -o :name: ./cmd/bake/bake.go"
format:
description: "formats the code with the go formatter"
steps:
- "go fmt ./..."
clean:
description: "deletes executable"
private: true
steps:
- "rm :name:"
help: |
varsion: 1.3.2
Welcome to the demo Bakefile! It provides a good starting point with all the available syntax.
Here's the available commands:
* clean: deletes the executable
* test: tests the code with go test
* build: builds the code with go
* format: formats the code with the go formatter
For more information visit https://github.com/kampanosg/bakery