forgot --ofline flag on yarn
This commit is contained in:
parent
0fe8b043e6
commit
6baea6e14b
@ -34,10 +34,10 @@ src_prepare() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
src_compile() {
|
src_compile() {
|
||||||
yarn --use-yarnrc ${WORKDIR}/.yarnrc config set yarn-offline-mirror ${WORKDIR}/offline-cache
|
yarn --use-yarnrc ${WORKDIR}/.yarnrc config set yarn-offline-mirror ${WORKDIR}/offline-cache --offline
|
||||||
yarn --use-yarnrc ${WORKDIR}/.yarnrc config set yarn-offline-mirror-pruning true
|
yarn --use-yarnrc ${WORKDIR}/.yarnrc config set yarn-offline-mirror-pruning true --offline
|
||||||
yarn --use-yarnrc ${WORKDIR}/.yarnrc install || die "yarn install failed"
|
yarn --use-yarnrc ${WORKDIR}/.yarnrc install --offline || die "yarn install failed"
|
||||||
yarn --use-yarnrc ${WORKDIR}/.yarnrc compile || die "yarn compile failed"
|
yarn --use-yarnrc ${WORKDIR}/.yarnrc compile --offline || die "yarn compile failed"
|
||||||
}
|
}
|
||||||
|
|
||||||
src_install() {
|
src_install() {
|
||||||
|
Loading…
Reference in New Issue
Block a user