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:
parent
f5afadc000
commit
aa7a0f4bd8
1 changed files with 4 additions and 1 deletions
|
@ -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()
|
||||||
|
|
Loading…
Reference in a new issue