Unverified Commit b7c19fd0 authored by Leo's avatar Leo Committed by prspkt

testing/traefik: modernize

parent 0dff0fe8
......@@ -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
......
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