1
0

Added jade check and install make target.

This commit is contained in:
Alexander Andreev 2023-03-12 00:41:59 +04:00
parent 71c6aae91d
commit 6e3036e4bc
Signed by: Arav
GPG Key ID: D22A817D95815393
2 changed files with 7 additions and 0 deletions

View File

@ -16,6 +16,9 @@ ${TARGET}:
go build -o bin/$@ ${LDFLAGS} cmd/$@/main.go
go build -o bin/$@-clean ${LDFLAGS} cmd/$@-clean/main.go
install-jade:
go install github.com/Joker/jade/cmd/jade@latest
run:
bin/${TARGET} -conf configs/config.yaml

View File

@ -21,6 +21,10 @@ md5sums=('SKIP')
build() {
cd "$srcdir/$pkgname"
if [ ! -f "$(go env GOPATH)/bin/jade" ]; then
make DESTDIR="$pkgdir/" install-jade
fi
make DESTDIR="$pkgdir/"
}