summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRyan Dahl <ry@tinyclouds.org>2019-09-13 16:39:42 -0400
committerGitHub <noreply@github.com>2019-09-13 16:39:42 -0400
commitaa7a0f4bd86ca325509bd05b4eba69b369671501 (patch)
tree49af4cec2f39edb70a811305cfd6d87a8fcceaf7
parentf5afadc000b2d792eb7755a51bcf9c62066456ac (diff)
Fix tools/cargo_package.py (#2940)
-rwxr-xr-xtools/cargo_package.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/tools/cargo_package.py b/tools/cargo_package.py
index fe4ebcc1e..152685d6b 100755
--- a/tools/cargo_package.py
+++ b/tools/cargo_package.py
@@ -49,7 +49,10 @@ version = get_version(cargo_toml_path)
def main():
os.chdir(root_path)
- run(["tools/build.py", "libdeno_static_lib", "--release"])
+ run([
+ "cargo", "build", "-vv", "--manifest-path", cargo_toml_path, "--lib",
+ "--release", "--locked"
+ ])
assert (os.path.exists(lib_name))
root_temp = mkdtemp()