@2create/drone 中文文档教程
Requirements
- Gitbash (http://git-scm.com/downloads)
- Node.js 6.x.x (http://nodejs.org/)
- TortoiseSVN(version 1.8+ http://tortoisesvn.net/downloads.html). Make sure that you install command line tools along with the installation(http://i.stack.imgur.com/31I6E.jpg).
Installation
npm install -g @2create/drone
ConEmu(required for Windows 8, optional for Windows 7)
ConEmu 是一个高级终端,它取代了默认的 Git bash 终端。 它提供了更多的自定义(全屏功能、正确标记、正确粘贴、类似浏览器的选项卡)并在 Windows 8 下正常工作。
ConEmu 安装:
- Download: http://www.fosshub.com/ConEmu.html ( ConEmu Alpha, Installer (32-bit, 64-bit) )
- Install
如何添加“ConEmu Here”上下文菜单:
- Open ConEmu
- Press Win+Alt+P to open options menu
- Go to "Integration"
- Fill in (adjust Windows paths where appropriate):
- Menu item: "ConEmu Here" (or any text you want)
- Command: /icon "C:\Program Files (x86)\Git\etc\git.ico" /single /cmd {Git bash}
- Icon file: C:\Program Files (x86)\Git\etc\git.ico
- Click "Register"
可选:如何运行 ConEmu全局快捷方式:
- Create new Desktop Shortcut
- For target, enter: C:\ConEmu\ConEmu64.exe /icon "C:\Program Files (x86)\Git\etc\git.ico" /single /cmd {Git bash}
- For shortcut, enter your desired shortcut (e.g. Ctrl+Alt+`)
可选:示例 ConEmu 配置:
- Download
http://nasko.int/share/ConEmu.xml
- Open ConEmu
- Press Win+Alt+P
- Click on "Import…" button
- Select the downloaded .xml file
- Click on "Save settings" after import is complete
- Restart ConEmu
Development guidelines
- Create a new branch from
development
- Upon completion, merge --no-ff into
development
- Delete branch
Color coding guidelines:
{c;c:progress} 正在进行中; 无需用户输入 {c;c:interaction} 需要用户输入 {c;c:success} 成功 {c;c:highlight} 命令提示或重要项目 {c;c:error} 错误信息 {c;c:errorhighlight} 内部错误信息; 很可能缺少错误代码字符串 {c;c:logicalblock} 未完全确定; 仅用于子流程可视块开始/结束一次
Requirements
- Gitbash (http://git-scm.com/downloads)
- Node.js 6.x.x (http://nodejs.org/)
- TortoiseSVN(version 1.8+ http://tortoisesvn.net/downloads.html). Make sure that you install command line tools along with the installation(http://i.stack.imgur.com/31I6E.jpg).
Installation
npm install -g @2create/drone
ConEmu(required for Windows 8, optional for Windows 7)
ConEmu is an advanced terminal which replaces the default Git bash terminal. It provides much, much more customization (full screen capability, proper marking, proper pasting, browser-like tabs) and works properly under Windows 8.
ConEmu Installation:
- Download: http://www.fosshub.com/ConEmu.html ( ConEmu Alpha, Installer (32-bit, 64-bit) )
- Install
How to add "ConEmu Here" context menu:
- Open ConEmu
- Press Win+Alt+P to open options menu
- Go to "Integration"
- Fill in (adjust Windows paths where appropriate):
- Menu item: "ConEmu Here" (or any text you want)
- Command: /icon "C:\Program Files (x86)\Git\etc\git.ico" /single /cmd {Git bash}
- Icon file: C:\Program Files (x86)\Git\etc\git.ico
- Click "Register"
Optional: How to run ConEmu with global shortcut:
- Create new Desktop Shortcut
- For target, enter: C:\ConEmu\ConEmu64.exe /icon "C:\Program Files (x86)\Git\etc\git.ico" /single /cmd {Git bash}
- For shortcut, enter your desired shortcut (e.g. Ctrl+Alt+`)
Optional: Example ConEmu configuration:
- Download
http://nasko.int/share/ConEmu.xml
- Open ConEmu
- Press Win+Alt+P
- Click on "Import…" button
- Select the downloaded .xml file
- Click on "Save settings" after import is complete
- Restart ConEmu
Development guidelines
- Create a new branch from
development
- Upon completion, merge --no-ff into
development
- Delete branch
Color coding guidelines:
{c;c:progress} something is in progress; no user input needed {c;c:interaction} user input required {c;c:success} success {c;c:highlight} command hint or item of importance {c;c:error} error message {c;c:errorhighlight} internal error message; most probably missing error code string {c;c:logicalblock} not determined exactly; used only once for sub-process visual block begin/end