Branch: refs/heads/master Author: Jiří Techet techet@gmail.com Committer: Enrico Tröger enrico.troeger@uvena.de Date: Thu, 25 Nov 2021 11:02:52 UTC Commit: 31d2375ae4c2689da660005d6e6a7d8723194f87 https://github.com/geany/geany/commit/31d2375ae4c2689da660005d6e6a7d8723194f...
Log Message: ----------- Update update-ctags.py to copy some files from the dsl directory
The main part of ctags now uses some functions from files defined in the dsl directory. Copy these when updating ctags.
Modified Paths: -------------- scripts/update-ctags.py
Modified: scripts/update-ctags.py 5 lines changed, 5 insertions(+), 0 deletions(-) =================================================================== @@ -7,6 +7,7 @@
if len(sys.argv) != 3: print('Usage: update-ctags.py <universal ctags directory> <geany ctags directory>') + sys.exit(1)
srcdir = os.path.abspath(sys.argv[1]) dstdir = os.path.abspath(sys.argv[2]) @@ -19,6 +20,10 @@ for f in parser_dst_files: shutil.copy(f, dstdir + '/parsers')
+print('Copying dsl files...') +for f in ['dsl/es.c', 'dsl/es.h', 'dsl/optscript.c', 'dsl/optscript.h']: + shutil.copy(srcdir + '/' + f, dstdir + '/' + f) + os.chdir(srcdir) main_src_files = glob.glob('main/*.c') + glob.glob('main/*.h') os.chdir(dstdir)
-------------- This E-Mail was brought to you by github_commit_mail.py (Source: https://github.com/geany/infrastructure).