mockee / istatic

Static File Manager

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

依赖整个目录时会有些问题

dexteryy opened this issue · comments

像下面这样写空对象的时候:

repos:
  dexteryy/OzJS:
    file:
      /oz.js: /js/lib/
      /adapter.js: /js/lib/
  dexteryy/mo: {}

会取不到文件:

Cloning into '.statictmp/mo'...
Starting to copy files...
Cloning into '.statictmp/OzJS'...

如果复制整个目录:

  dexteryy/mo:
    file:
      /: /js/mo/

会连.git也复制过来:

.statictmp/mo//.git/objects/pack/pack-aa533c8fc5ee70b18012e23c44433a00a6844ee9.idx -> js/mo/.git/objects/pack/ 

应该默认只复制js/css/html(除非直接指定某个文件)

fixed in 27858c19f8.