[geany/geany] 31d237: Update update-ctags.py to copy some files from the dsl directory
Jiří Techet
git-noreply at xxxxx
Thu Nov 25 11:02:52 UTC 2021
Branch: refs/heads/master
Author: Jiří Techet <techet at gmail.com>
Committer: Enrico Tröger <enrico.troeger at uvena.de>
Date: Thu, 25 Nov 2021 11:02:52 UTC
Commit: 31d2375ae4c2689da660005d6e6a7d8723194f87
https://github.com/geany/geany/commit/31d2375ae4c2689da660005d6e6a7d8723194f87
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).
More information about the Commits
mailing list