-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathloon.yml
31 lines (31 loc) · 819 Bytes
/
loon.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
name: loon
url: https://github.com/andremedeiros/loon
environment:
LOON: Was here
deps:
- golang: 1.14.4
- ruby: 2.7.1
tasks:
setup:
description: Pulls dependencies
command: |
go get -u github.com/go-bindata/go-bindata/...
bundle check || bundle install
build:
description: Builds Loon
command: |
go generate
go build \
-ldflags="-X github.com/andremedeiros/loon/internal/cli.version=$(git rev-parse --short HEAD)"
test:
description: Runs go tests
command: go test ./... -v $@
bench:
description: Runs go tests with benchmark
command: go test ./... -v -bench=. $@
integration:
description: Runs integration tests
command: rspec --tag command
dependency:
description: Runs dependency tests
command: rspec --tag dependency