Commit f56b40a3 authored by Michał Polański's avatar Michał Polański Committed by Leo
Browse files

testing/sos: add tests

parent 629c9196
......@@ -5,9 +5,9 @@ pkgver=0.8
pkgrel=3
pkgdesc="Simple Object Storage"
url="https://github.com/skx/sos"
arch="all !mips !mips64" # limited by go
license="GPL-2.0-or-later"
options="!check chmod-clean" # has no check
arch="all !mips !mips64" # limited by go
options="chmod-clean"
makedepends="go"
source="sos-$pkgver.tar.gz::https://github.com/skx/sos/archive/release-$pkgver.tar.gz
use-go-modules.patch
......@@ -23,6 +23,10 @@ build() {
-o ./bin/sos
}
check() {
go test ./...
}
package() {
install -Dm755 bin/sos "$pkgdir"/usr/bin/sos
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment