资源简介
官网下的YouCompleteMe,git clong时,会丢包,所以直接对照补全
代码片段和文件信息
#!/usr/bin/env python
from __future__ import print_function
from __future__ import division
from __future__ import unicode_literals
from __future__ import absolute_import
import os
import subprocess
import sys
import os.path as p
import glob
PY_MAJOR PY_MINOR = sys.version_info[ 0 : 2 ]
if not ( ( PY_MAJOR == 2 and PY_MINOR >= 6 ) or
( PY_MAJOR == 3 and PY_MINOR >= 3 ) or
PY_MAJOR > 3 ):
sys.exit( ‘YouCompleteMe requires Python >= 2.6 or >= 3.3; ‘
‘your version of Python is ‘ + sys.version )
DIR_OF_THIS_script = p.dirname( p.abspath( __file__ ) )
DIR_OF_OLD_LIBS = p.join( DIR_OF_THIS_script ‘python‘ )
def CheckCall( args **kwargs ):
try:
subprocess.check_call( args **kwargs )
except subprocess.CalledProcessError as error:
sys.exit( error.returncode )
def Main():
build_file = p.join( DIR_OF_THIS_script ‘third_party‘ ‘ycmd‘ ‘build.py‘ )
if not p.isfile( build_file ):
sys.exit(
‘File {0} does not exist; you probably forgot to run:\n‘
‘\tgit submodule update --init --recursive\n‘.format( build_file ) )
CheckCall( [ sys.executable build_file ] + sys.argv[ 1: ] )
# Remove old YCM libs if present so that YCM can start.
old_libs = (
glob.glob( p.join( DIR_OF_OLD_LIBS ‘*ycm_core.*‘ ) ) +
glob.glob( p.join( DIR_OF_OLD_LIBS ‘*ycm_client_support.*‘ ) ) +
glob.glob( p.join( DIR_OF_OLD_LIBS ‘*clang*.*‘) ) )
for lib in old_libs:
os.remove( lib )
if __name__ == “__main__“:
Main()
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
目录 0 2017-07-13 12:24 YouCompleteMe\
文件 30 2017-07-13 12:24 YouCompleteMe\.coveragerc
目录 0 2017-07-13 12:24 YouCompleteMe\.git\
目录 0 2017-07-13 12:24 YouCompleteMe\.github\
文件 3299 2017-07-13 12:24 YouCompleteMe\.github\ISSUE_TEMPLATE.md
文件 809 2017-07-13 12:24 YouCompleteMe\.github\PULL_REQUEST_TEMPLATE.md
文件 954 2017-07-13 12:24 YouCompleteMe\.gitignore
文件 224 2017-07-13 12:24 YouCompleteMe\.gitmodules
文件 476 2017-07-13 12:24 YouCompleteMe\.git\config
文件 73 2017-07-13 12:24 YouCompleteMe\.git\desc
文件 23 2017-07-13 12:24 YouCompleteMe\.git\HEAD
目录 0 2017-07-13 12:24 YouCompleteMe\.git\hooks\
文件 478 2017-07-13 12:24 YouCompleteMe\.git\hooks\applypatch-msg.sample
文件 896 2017-07-13 12:24 YouCompleteMe\.git\hooks\commit-msg.sample
文件 189 2017-07-13 12:24 YouCompleteMe\.git\hooks\post-update.sample
文件 424 2017-07-13 12:24 YouCompleteMe\.git\hooks\pre-applypatch.sample
文件 1642 2017-07-13 12:24 YouCompleteMe\.git\hooks\pre-commit.sample
文件 1348 2017-07-13 12:24 YouCompleteMe\.git\hooks\pre-push.sample
文件 4951 2017-07-13 12:24 YouCompleteMe\.git\hooks\pre-reba
文件 544 2017-07-13 12:24 YouCompleteMe\.git\hooks\pre-receive.sample
文件 1239 2017-07-13 12:24 YouCompleteMe\.git\hooks\prepare-commit-msg.sample
文件 3610 2017-07-13 12:24 YouCompleteMe\.git\hooks\update.sample
文件 9887 2017-07-13 12:24 YouCompleteMe\.git\index
目录 0 2017-07-13 12:24 YouCompleteMe\.git\info\
文件 240 2017-07-13 12:24 YouCompleteMe\.git\info\exclude
目录 0 2017-07-13 12:24 YouCompleteMe\.git\logs\
文件 198 2017-07-13 12:24 YouCompleteMe\.git\logs\HEAD
目录 0 2017-07-13 12:24 YouCompleteMe\.git\logs\refs\
目录 0 2017-07-13 12:24 YouCompleteMe\.git\logs\refs\heads\
文件 198 2017-07-13 12:24 YouCompleteMe\.git\logs\refs\heads\master
目录 0 2017-07-13 12:24 YouCompleteMe\.git\logs\refs\remotes\
............此处省略5660个文件信息
相关资源
- Introduction to 3D Game Programming with Direc
- Sublime Text3必备插件集合
- VideoDownloadHelper 浏览器插件 破解版无
- GTK+GNOME程序设计[单文件完整版]
- google-chrome-stable_current_i386.deb
- C Primer Plus 第五版 中文清晰版 C P
- Mechanics of Materials 6ed Bee pdf
- Laser Fundamentals激光原理 第二版英文
- An Introduction to the Mathematics and Methods
- (中)Fundamentals.of.Wireless.Communicatio
- unity金属材质包
- Reinforcement Learning with Tensorflow 无水印
- Implementing Cisco IP Telephony and Video Part
- Fluid Mechanics(8th) 无水印pdf
- TMS320F28027 例程
- Elements of Modern Algebra 8th Edition Gilbert
- 实验设计与分析(第6版) Douglas C.M
- A Programmer’s Introduction to Mathematics-D
- MES系统整体解决方案,提供全面的M
- AndyTiming TimeGen3.2 TimingDesigner 9.103 画时
- Ray Tracing Gems-High-Quality and Real-Time Re
- Handbook of Biometric Anti-Spoofing: Presentat
- An introduction to statistical learning with A
- Spherical near-field antenna measurements
- Game development and simulation with Unreal te
- Hands-On Full Stack Development with Go - Mina
- RTDCustomerTool.zip
- 支持XP安装的最后版本emeditor 14.8.1官方
- Rainmeter皮肤大全-超多皮肤-超炫效果
- 最小的精简谷歌浏览器 CHROME
评论
共有 条评论