From 97c35edea2ca67a06ba66f124b94ea62f0519def Mon Sep 17 00:00:00 2001 From: crupest Date: Tue, 13 Nov 2018 17:12:03 +0800 Subject: Update scripts. --- scripts/merge.py | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 scripts/merge.py (limited to 'scripts') diff --git a/scripts/merge.py b/scripts/merge.py new file mode 100644 index 00000000..250dfecb --- /dev/null +++ b/scripts/merge.py @@ -0,0 +1,13 @@ +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)) -- cgit v1.2.3