mirror of
https://github.com/pentoo/pentoo-overlay
synced 2025-12-06 08:25:01 +01:00
rdio-scanner: add the npm garbage
this fails, I think it will always fail, but I'm still trying to find a sane way to do it
This commit is contained in:
parent
437d365549
commit
e77b64fa83
1 changed files with 12 additions and 2 deletions
|
|
@ -229,17 +229,27 @@ LICENSE="GPL-3"
|
|||
SLOT="0"
|
||||
KEYWORDS=""
|
||||
|
||||
S="${WORKDIR}/${PN}-${HASH_COMMIT}/server"
|
||||
S="${WORKDIR}/${PN}-${HASH_COMMIT}"
|
||||
|
||||
src_prepare() {
|
||||
mv ${WORKDIR}/webapp .
|
||||
mv ${WORKDIR}/webapp server
|
||||
eapply_user
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
pushd client || die
|
||||
addpredict "/etc/npm"
|
||||
npm ci --loglevel=error --no-progress || die
|
||||
npm run build || die
|
||||
popd || die
|
||||
|
||||
pushd server || die
|
||||
env GOBIN="${S}/bin" go install ./... || die "compile failed"
|
||||
popd || die
|
||||
}
|
||||
|
||||
src_install() {
|
||||
pushd server || die
|
||||
newbin bin/server ${PN}
|
||||
popd || die
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue