~gjabell/bmk

ref: edb4a06398b49fb3f3971678cb2449020eb7df6b bmk/.build.yml -rw-r--r-- 578 bytes
edb4a063Galen Abell Add .build.yml and Makefile targets 1 year, 5 months ago
                                                                                
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
image: alpine/edge
packages:
  - go
sources:
  - https://git.sr.ht/~gjabell/bmk
tasks:
  - setup: |
      mkdir go
      cd bmk
      go get
      go get -u golang.org/x/lint/golint
      echo "export PATH=~/go/bin:$PATH" >> ~/.buildenv
  - lint: |
      cd bmk
      make lint
  - vet: |
      cd bmk
      make vet
  - test: |
      cd bmk
      make test
  - build: |
      cd bmk
      make
      sudo make install
      bmk add -t dev git.sr.ht "The hacker's forge"
      bmk ls
triggers:
  - action: email
    condition: failure
    to: Galen Abell <galen@galenabell.com>