[geany/geany] 59f080: Update tags and filedefs path references in scripts

Enrico Tröger git-noreply at xxxxx
Wed Dec 28 21:59:46 UTC 2016


Branch:      refs/heads/master
Author:      Enrico Tröger <enrico.troeger at uvena.de>
Committer:   Enrico Tröger <enrico.troeger at uvena.de>
Date:        Wed, 28 Dec 2016 21:59:46 UTC
Commit:      59f080d058a0eb6f602e770ee6b71c0c63cabd79
             https://github.com/geany/geany/commit/59f080d058a0eb6f602e770ee6b71c0c63cabd79

Log Message:
-----------
Update tags and filedefs path references in scripts

This is a follow-up of #485.


Modified Paths:
--------------
    scripts/create_c_tags.sh
    scripts/create_php_tags.py
    scripts/create_py_tags.py
    scripts/update-python-identifiers.sh

Modified: scripts/create_c_tags.sh
2 lines changed, 1 insertions(+), 1 deletions(-)
===================================================================
@@ -7,7 +7,7 @@
 #
 
 tmpfile="tmp.c.tags"
-tagfile="data/c99.tags"
+tagfile="data/tags/c99.tags"
 
 headers="\
 assert.h \


Modified: scripts/create_php_tags.py
4 lines changed, 2 insertions(+), 2 deletions(-)
===================================================================
@@ -7,7 +7,7 @@
 # This script downloads the PHP tag definitions in JSON format from
 # http://doc.php.net/downloads/json/php_manual_en.json.
 # From those defintions all function tags are extracted and written
-# to ../data/php.tags (relative to the script's location, not $CWD).
+# to ../data/tags/php.tags (relative to the script's location, not $CWD).
 
 from json import loads
 from os.path import dirname, join
@@ -85,7 +85,7 @@ def parse_and_create_php_tags_file():
 
     # write tags
     script_dir = dirname(__file__)
-    tags_file_path = join(script_dir, '..', 'data', 'php.tags')
+    tags_file_path = join(script_dir, '..', 'data', 'tags', 'php.tags')
     with open(tags_file_path, 'w') as tags_file:
         tags_file.write('# format=tagmanager\n')
         for tag_name, tag_type, return_type, arg_list, scope in sorted(tag_list):


Modified: scripts/create_py_tags.py
4 lines changed, 2 insertions(+), 2 deletions(-)
===================================================================
@@ -9,7 +9,7 @@
 # This script should be run in the top source directory.
 #
 # Parses all files given on command line for Python classes or functions and write
-# them into data/python.tags (internal tagmanager format).
+# them into data/tags/python.tags (internal tagmanager format).
 # If called without command line arguments, a preset of common Python libs is used.
 #
 # WARNING
@@ -51,7 +51,7 @@
 TYPE_CLASS = '%d' % 1
 TYPE_FUNCTION = '%d' % 128
 
-tag_filename = 'data/python.tags'
+tag_filename = 'data/tags/python.tags'
 tag_regexp = '^[ \t]*(def|class)[ \t]+([a-zA-Z0-9_]+)[ \t]*(\(.*\))[:]'
 
 


Modified: scripts/update-python-identifiers.sh
2 lines changed, 1 insertions(+), 1 deletions(-)
===================================================================
@@ -8,7 +8,7 @@
 
 set -e
 
-file=data/filetypes.python
+file=data/filedefs/filetypes.python
 
 [ -f "$file" ]
 



--------------
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