From acf79c0ec30a2dc6a77735680e2d32544edcdd5f Mon Sep 17 00:00:00 2001 From: Asif Amin Date: Wed, 22 Dec 2021 13:32:32 +1000 Subject: [PATCH 1/2] bower and jinja files not in use anymore --- bower.json | 13 -------- ssi_to_jinja2.py | 80 ------------------------------------------------ 2 files changed, 93 deletions(-) delete mode 100644 bower.json delete mode 100644 ssi_to_jinja2.py diff --git a/bower.json b/bower.json deleted file mode 100644 index 35defcaf0..000000000 --- a/bower.json +++ /dev/null @@ -1,13 +0,0 @@ -{ - "name": "glue-template-release", - "version": "3.1.0", - "description": "glue-swe-template", - "homepage": "", - "ignore": [ - "**/.*", - "node_modules", - "bower_components", - "test", - "tests" - ] -} diff --git a/ssi_to_jinja2.py b/ssi_to_jinja2.py deleted file mode 100644 index fdad0216f..000000000 --- a/ssi_to_jinja2.py +++ /dev/null @@ -1,80 +0,0 @@ -import sys -import os -import re -from tempfile import mkstemp -from shutil import move - -re_ssi = re.compile('') -re_echo = re.compile('value=".*"') -re_echo_all = re.compile('') - -#Expecting a path to directory eg /home/user/swe/build/ -rootdir = sys.argv[1] -for root, subdirs, files in os.walk(rootdir): - files = ["{0}{1}{2}".format(root,os.path.sep,s) for s in files] - for file_path in files: - include_js_snippet = False - #Create temp file - fh, abs_path = mkstemp() - with open(abs_path,'w') as new_file: - with open(file_path) as old_file: - for line in old_file: - if '',' %}')) - elif '',' %}')) - elif '