Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Zenroom
Zenroom
Commits
3856b51f
Commit
3856b51f
authored
May 07, 2022
by
Jaromil
Browse files
build.rs status exit ok
parent
85646c2f
Changes
2
Hide whitespace changes
Inline
Side-by-side
bindings/Makefile
View file @
3856b51f
...
...
@@ -8,6 +8,9 @@ npm:
tar
cvfz zenroom-npm.tar.gz zenroom-npm
rm
-rf
zenroom-npm
meson
:
make
-C
.. meson
clean
:
rm
-f
VERSION
rm
-rf
javascript/emsdk/
...
...
bindings/rust/build.rs
View file @
3856b51f
...
...
@@ -7,7 +7,8 @@ use std::process::Command;
fn
main
()
{
let
mut
cmd
=
Command
::
new
(
"make"
);
cmd
.args
(
&
[
"-C"
,
"../.."
,
"meson"
]);
let
status
=
cmd
.status
()
.expect
(
"failed to run meson"
);
// let status = cmd.status().expect("failed to run meson");
let
status
=
cmd
.status
()
.exit_ok
();
// TODO: use status.exit_ok() when it gets to stable
assert
!
(
status
.success
());
let
build_path
=
PathBuf
::
from
(
env
::
current_dir
()
.unwrap
());
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment