summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorMarkus Mohrhard <markus.mohrhard@collabora.co.uk>2014-08-07 23:06:22 +0200
committerMarkus Mohrhard <markus.mohrhard@googlemail.com>2014-08-11 12:40:32 +0000
commit6d5e69072e7c37f8ff4adb49062218ab17373e7d (patch)
treeaa0d131a63197117238bd48c9b296d03db3e3422 /bin
parent071c09d7d9092a83194ae9d5082cde6ca4ef87ce (diff)
write directly files understood by YCM
Change-Id: I262050f625a0b3ff04a274c88b446d1c2b2aa19d Reviewed-on: https://gerrit.libreoffice.org/10821 Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com> Tested-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
Diffstat (limited to 'bin')
-rwxr-xr-xbin/gbuild-to-ide2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/gbuild-to-ide b/bin/gbuild-to-ide
index 0e9ab7c43daa..f005cf25faf2 100755
--- a/bin/gbuild-to-ide
+++ b/bin/gbuild-to-ide
@@ -236,7 +236,7 @@ class VimIntegrationGenerator(IdeIntegrationGenerator):
entry = {'directory': lib.location, 'file': filePath, 'command': self.generateCommand(lib, filePath)}
entries.append(entry)
global_list.extend(entries)
- export_file = open('database.txt','w')
+ export_file = open('compile_commands.json','w')
json.dump(global_list, export_file)
def generateCommand(self, lib, file):