mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-05-05 20:36:40 +02:00
testing/traefik: modernize
This commit is contained in:
parent
0dff0fe86c
commit
b7c19fd0ef
@ -26,14 +26,12 @@ prepare() {
|
||||
}
|
||||
|
||||
build() {
|
||||
cd "$builddir"
|
||||
GOPATH="$srcdir" go generate
|
||||
GOPATH="$srcdir" go build -v -o bin/$pkgname ./cmd/$pkgname
|
||||
}
|
||||
|
||||
check() {
|
||||
# Unit tests
|
||||
cd "$builddir"
|
||||
GOPATH="$srcdir" go test ./...
|
||||
|
||||
# Integration tests
|
||||
@ -42,8 +40,6 @@ check() {
|
||||
}
|
||||
|
||||
package() {
|
||||
cd "$builddir"
|
||||
|
||||
install -m755 -D "$srcdir"/$pkgname.initd \
|
||||
"$pkgdir"/etc/init.d/$pkgname
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user