0.0.3 • Published 7 years ago

fpt3 v0.0.3

Weekly downloads
2
License
MIT
Repository
-
Last release
7 years ago

Setup

install

npm i -g fpt3

Usage

Archive

fpt3 

PS:

项目目录规则

ProjectFolder -------git对应的业务组下创建
├─output -----gti在这个目录push上来的代码会通过钩子同步提交到潜龙发布对应的SVN目录
│ ├─mobile
│ └─pc
├─pc -----pc项目
│ ├─output
│ ├─dev
│ └─src
└─mobile -------- mobile项目
├─output
├─dev
└─src

feb output出来的目录不满足潜龙发布的目录要求

feb的output目录如下:

output
│ └─assets
│ ├─css
│ ├─img
│ │ ├─common
│ │ ├─index
│ │ └─rank
│ ├─js
│ └─sprite
├─ .html
└─
.html

潜龙发布要求html必须指定当前项目是pc还是mobile,html文件放在html文件夹中才能访问,目录规则如下:(fpt2的输出目录)

─output
├─mobile
│ ├─assets
│ │ ├─css
│ │ ├─img
│ │ └─js
│ └─html
└─pc
├─assets
│ ├─css
│ ├─img
│ ├─js
│ └─sprite
└─html