summaryrefslogtreecommitdiffstats
path: root/exlibs
diff options
context:
space:
mode:
authorQuentin Glidic2019-09-21 09:57:34 +0200
committerQuentin Glidic2019-09-21 09:59:11 +0200
commit6181838cb88b2ec099b411484e34f686559440cf (patch)
tree3ebf9a07e3f36dea1922834cd994e77cb87af94c /exlibs
parent14976eb87bbd171cd21c761c30b8d287bc5740b1 (diff)
downloadsardemff7-pending-6181838cb88b2ec099b411484e34f686559440cf.tar.xz
mozilla-app: Pre-fetch Rust stuff with cargo.exlib
Signed-off-by: Quentin Glidic <sardemff7+git@sardemff7.net>
Diffstat (limited to 'exlibs')
-rw-r--r--exlibs/mozilla-app.exlib9
1 files changed, 7 insertions, 2 deletions
diff --git a/exlibs/mozilla-app.exlib b/exlibs/mozilla-app.exlib
index 6eaa119..9db5741 100644
--- a/exlibs/mozilla-app.exlib
+++ b/exlibs/mozilla-app.exlib
@@ -39,7 +39,9 @@ if ever is_scm; then
}
fi
-export_exlib_phases pkg_setup src_configure src_compile src_install
+require cargo [ rust_minimum_version=1.37.0 ]
+
+export_exlib_phases pkg_setup src_configure src_compile src_test src_install
LICENCES="MPL-2.0"
SLOT="0"
@@ -72,7 +74,6 @@ DEPENDENCIES="
build+run:
app-arch/unzip
dev-lang/clang:*
- dev-lang/rust:*[>=1.37.0]
dev-lang/node
dev-libs/expat
dev-libs/glib:2
@@ -349,6 +350,10 @@ mozilla-app_src_compile() {
edo ./mach build -j${EXJOBS:-1}
}
+mozilla-app_src_test() {
+ default
+}
+
mozilla-app_src_install() {
unset TARGETS