Add --info flag to display file info (compiled code/source map) (#1647)

This commit is contained in:
Kevin (Kun) "Kassimo" Qian 2019-02-01 22:28:31 -08:00 committed by Ryan Dahl
parent 16ed1f2545
commit 3650bae5f6
9 changed files with 69 additions and 0 deletions

View file

@ -20,6 +20,9 @@ def read_test(file_name):
lines = test_file.splitlines()
test_dict = {}
for line in lines:
if line.strip().startswith("#"):
# skip comments
continue
key, value = re.split(r":\s+", line)
test_dict[key] = value
return test_dict