aboutsummaryrefslogtreecommitdiff
path: root/scripts/merge.py
diff options
context:
space:
mode:
author杨宇千 <crupest@outlook.com>2019-03-28 20:39:36 +0800
committerGitHub <noreply@github.com>2019-03-28 20:39:36 +0800
commitc45a6e62298e972f5945f5f3461ed723aea80317 (patch)
treef46ef303ee87a8e3814ea8743bd7062d432bfee3 /scripts/merge.py
parentb028e74a48de181ca078ad3bf4ababf4fa146cd3 (diff)
parent37216f211b0e22205a3a0d3373d985fc68aea59b (diff)
downloadcru-c45a6e62298e972f5945f5f3461ed723aea80317.tar.gz
cru-c45a6e62298e972f5945f5f3461ed723aea80317.tar.bz2
cru-c45a6e62298e972f5945f5f3461ed723aea80317.zip
Merge pull request #37 from crupest/render
Refactor.
Diffstat (limited to 'scripts/merge.py')
-rw-r--r--scripts/merge.py13
1 files changed, 0 insertions, 13 deletions
diff --git a/scripts/merge.py b/scripts/merge.py
deleted file mode 100644
index 250dfecb..00000000
--- a/scripts/merge.py
+++ /dev/null
@@ -1,13 +0,0 @@
-import os
-import os.path
-
-script_dir = os.path.dirname(os.path.realpath(__file__))
-
-tool_path =os.path.relpath(os.path.join(script_dir, '../tools/cppmerge/main.py'))
-input_dir = os.path.relpath(os.path.join(script_dir, '../src'))
-output_path = os.path.relpath(os.path.join(script_dir, '../CruUI-Generate/cru_ui'))
-
-print('Input dir is {}'.format(input_dir))
-print('Output path is {}'.format(output_path))
-
-os.system('python {} -o {} {}'.format(tool_path, output_path, input_dir))