diff options
Diffstat (limited to 'build_extra/rust/get_cargo_info.py')
-rwxr-xr-x | build_extra/rust/get_cargo_info.py | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/build_extra/rust/get_cargo_info.py b/build_extra/rust/get_cargo_info.py deleted file mode 100755 index 26e4c6e3c..000000000 --- a/build_extra/rust/get_cargo_info.py +++ /dev/null @@ -1,14 +0,0 @@ -#!/usr/bin/env python -# Copyright 2018-2019 the Deno authors. All rights reserved. MIT license. - -import sys -import re - -# Read the package version from Cargo.toml and output as json -cargo_toml_path = sys.argv[1] - -for line in open(cargo_toml_path): - match = re.search('version = "(.*)"', line) - if match: - print('{"version": "' + match.group(1) + '"}') - break |