From: "Haelwenn Monnier" <contact@hacktivis.me>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/proj/guru:master commit in: www-apps/vaultwarden-web/
Date: Thu, 28 Mar 2024 03:43:26 +0000 (UTC) [thread overview]
Message-ID: <1711541993.b1d67fc89b160f748a2e3ec706a96b83853fccde.lanodan@gentoo> (raw)
commit: b1d67fc89b160f748a2e3ec706a96b83853fccde
Author: Rahil Bhimjiani <me <AT> rahil <DOT> rocks>
AuthorDate: Wed Mar 27 12:19:22 2024 +0000
Commit: Haelwenn Monnier <contact <AT> hacktivis <DOT> me>
CommitDate: Wed Mar 27 12:19:53 2024 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=b1d67fc8
www-apps/vaultwarden-web: add dies and popds
Signed-off-by: Rahil Bhimjiani <me <AT> rahil.rocks>
www-apps/vaultwarden-web/vaultwarden-web-2024.1.2b.ebuild | 3 ++-
www-apps/vaultwarden-web/vaultwarden-web-2024.3.0.ebuild | 3 ++-
2 files changed, 4 insertions(+), 2 deletions(-)
diff --git a/www-apps/vaultwarden-web/vaultwarden-web-2024.1.2b.ebuild b/www-apps/vaultwarden-web/vaultwarden-web-2024.1.2b.ebuild
index 60158ed172..2bf9f2b95d 100644
--- a/www-apps/vaultwarden-web/vaultwarden-web-2024.1.2b.ebuild
+++ b/www-apps/vaultwarden-web/vaultwarden-web-2024.1.2b.ebuild
@@ -59,11 +59,12 @@ src_prepare() {
src_compile() {
# mimicking the behaviour of https://github.com/dani-garcia/bw_web_builds/blob/master/scripts/build_web_vault.sh
- pushd apps/web
+ pushd apps/web || die
npm --verbose --offline run dist:oss:selfhost && printf '{"version":"%s"}' "${PV}" | tee build/vw-version.json \
|| die "Build failed! Try prebuilt from upstream ${CATEGORY}/${PN}-bin"
# although following is optional in upstream's build process, it reduced build dir size from 44M to 25M
find build -name "*.map" -delete || die
+ popd || die
}
src_install() {
diff --git a/www-apps/vaultwarden-web/vaultwarden-web-2024.3.0.ebuild b/www-apps/vaultwarden-web/vaultwarden-web-2024.3.0.ebuild
index c5e2bb8610..20f1cd608e 100644
--- a/www-apps/vaultwarden-web/vaultwarden-web-2024.3.0.ebuild
+++ b/www-apps/vaultwarden-web/vaultwarden-web-2024.3.0.ebuild
@@ -92,11 +92,12 @@ src_compile() {
npm --verbose --offline clean-install || die
# mimicking the behaviour of https://github.com/dani-garcia/bw_web_builds/blob/master/scripts/build_web_vault.sh
- pushd apps/web
+ pushd apps/web || die
npm --verbose --offline run dist:oss:selfhost && printf '{"version":"%s"}' "${PV}" | tee build/vw-version.json \
|| die "Build failed! Try prebuilt from upstream ${CATEGORY}/${PN}-bin"
# although following is optional in upstream's build process, it reduced build dir size from 44M to 25M
find build -name "*.map" -delete || die
+ popd || die
}
src_install() {
next reply other threads:[~2024-03-28 3:43 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-03-28 3:43 Haelwenn Monnier [this message]
-- strict thread matches above, loose matches on Subject: below --
2025-03-18 9:25 [gentoo-commits] repo/proj/guru:master commit in: www-apps/vaultwarden-web/ David Roman
2024-04-09 11:25 Julien Roy
2024-04-08 21:32 Julien Roy
2024-03-27 11:50 Rui Huang
2024-02-26 16:30 Viorel Munteanu
2024-02-26 16:30 Viorel Munteanu
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1711541993.b1d67fc89b160f748a2e3ec706a96b83853fccde.lanodan@gentoo \
--to=contact@hacktivis.me \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox