summaryrefslogtreecommitdiff
path: root/tools/cargo_publish.py
diff options
context:
space:
mode:
Diffstat (limited to 'tools/cargo_publish.py')
-rwxr-xr-xtools/cargo_publish.py28
1 files changed, 0 insertions, 28 deletions
diff --git a/tools/cargo_publish.py b/tools/cargo_publish.py
deleted file mode 100755
index b8fa1f037..000000000
--- a/tools/cargo_publish.py
+++ /dev/null
@@ -1,28 +0,0 @@
-#!/usr/bin/env python
-import os
-import sys
-import argparse
-from util import run, root_path
-
-
-def main():
- parser = argparse.ArgumentParser()
- parser.add_argument("--dry-run", action="store_true")
- args = parser.parse_args()
-
- cargo_publish = ["cargo", "publish"]
- if args.dry_run:
- cargo_publish += ["--dry-run"]
-
- os.chdir(os.path.join(root_path, "core"))
- run(cargo_publish)
-
- os.chdir(os.path.join(root_path, "deno_typescript"))
- run(cargo_publish)
-
- os.chdir(os.path.join(root_path, "cli"))
- run(cargo_publish)
-
-
-if __name__ == '__main__':
- sys.exit(main())