1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-11-22 15:06:54 -05:00

Fix tools/cargo_package.py (#2940)

This commit is contained in:
Ryan Dahl 2019-09-13 16:39:42 -04:00 committed by GitHub
parent f5afadc000
commit aa7a0f4bd8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -49,7 +49,10 @@ version = get_version(cargo_toml_path)
def main(): def main():
os.chdir(root_path) 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)) assert (os.path.exists(lib_name))
root_temp = mkdtemp() root_temp = mkdtemp()