blob: fe728b39887f1c3c371647be34a6b6ae235277ac (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
# Copyright (C) 2022 Luke Shumaker <lukeshu@lukeshu.com>
#
# SPDX-License-Identifier: GPL-2.0-or-later
# Ref: https://man.sr.ht/builds.sr.ht/
sources:
- https://git.sr.ht/~lukeshu/btrfs-ng
image: archlinux
packages:
- go
- make
tasks:
- lint: make -C btrfs-ng lint
- check: make -C btrfs-ng check
- generate: |
cd btrfs-ng
make generate
git add .
if [[ -n "$(git status --porcelain)" ]]; then
PAGER= git diff --cached
exit 1
fi
|