Minor fixes in tools/ (#2906)

* Fix tools/docs.py

* Remove dead code: sync_rust_crates.py
This commit is contained in:
Ryan Dahl 2019-09-10 14:34:54 -04:00 committed by GitHub
parent acee1944b9
commit 49aea7abbc
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 2 additions and 32 deletions

View file

@ -11,9 +11,9 @@ os.chdir(root_path)
# Builds into target/doc
run(["cargo", "doc", "--all", "--no-deps", "-vv"])
# 'deno types' is stored in target/debug/gen/cli/lib/lib.deno_runtime.d.ts
# 'deno types' is stored in js/lib.deno_runtime.d.ts
# We want to run typedoc on that declaration file only.
os.chdir(os.path.join(target_path, "debug/gen/cli/lib/"))
os.chdir(os.path.join(root_path, "js"))
# You must have typedoc installed seprately.
# TODO Replace typedoc with something else ASAP. It's very awful.