This commit is contained in:
KG7x
2022-12-25 19:23:03 +03:00
parent 8c86a82422
commit 2d6075189d
14 changed files with 71 additions and 71 deletions

View File

@@ -1,6 +1,6 @@
#!/usr/bin/env python3
import re
import re
import os
import glob
from tabnanny import check
@@ -69,7 +69,7 @@ def main():
for ln in open('../../../Cargo.toml', encoding='utf-8'):
if ln.startswith('version ='):
print('export const ' + ln)
def removeComment(ln):
return re.sub('\s+\/\/.*$', '', ln)