INFO: Processing changes…
INFO: No deps to find on server
我发现,如果我使用bii init -L初始化存储库,那么一切正常.但是,bii init –help说. .
usage: bii init [-h] [-L [LAYOUT]] [name]
creates a new biicode project
positional arguments: name Optional name of the
folder. If specified, bii will
create a new folder and initialize a project inside,
otherwise, it will try to initialize in the current
folderoptional arguments: -h, –help show this help message and
exit -L [LAYOUT], -l [LAYOUT], –layout [LAYOUT]
Optional layout. If no param is specified, it will use
the “minimal” one. Other available: CLion
这表明如果我没有指定布局,则忽略L参数.
我的问题是L参数在没有指定布局的情况下做什么,而只是键入bii init而没有额外的参数?
笔记:
> OSX 10.10.2
> bii 2.7
$bii init -L
是相同的
$bii init -L=simple
简单的是最小布局,允许直接在项目根目录中编辑块.
当然可以改进命令帮助.结果布局将是:
project |-bii | |-deps | |-cmake | |-build |-bin | |-myexe |-main.cpp
如果不使用-L选项,则创建一个常规的biicode项目布局,这是一个非常不同的,需要用户块在“blocks”文件夹中,所有的aux文件夹(deps,build,cmake)都在项目根.那将是典型的工作流程
$bii init myproject $cd myproject $git clone repo-url blocks/mybiicodeuser/myblockname
通常,blockname等于github存储库名称,并且许多人的github和biicode用户名相同.