fex-team / fis3

FIS3
http://fis.baidu.com
BSD 2-Clause "Simplified" License
2.79k stars 694 forks source link

fis.set project.ignore无效 #381

Open ceemomx opened 9 years ago

ceemomx commented 9 years ago
fis.set('project.ignore', ['node_modules/**', 'output/**','js/**','config.js','.git/**','less/**','fis-conf.js','cordova_plugins.js','js/lib/plugins/**']);

fis.match('*.js', {
    useHash: true,
    optimizer: fis.plugin('uglify-js')
});

fis.match('*.css', {
    useHash: true,
    optimizer: fis.plugin('clean-css')
});

fis.match('*', {
    release: './$0',
    deploy: fis.plugin('local-deliver', {
        to: '/Users/zhaomenmengxi/git/ngjrelease/public/'
    })
});

fis.media('dev').match('*', {
    deploy: fis.plugin('http-push', {
        receiver:'http://192.168.0.120:8999/receiver',
        to: 'd:/get'
    })
});

ignore并没有生效 每次还是会编译发布出去 求解 image

2betop commented 9 years ago

你用的是 fis 还是 fis3 ?

2betop commented 9 years ago

fis3 是什么版本?

ceemomx commented 9 years ago

@2betop 是fis3 v3.2.4 image

snadn commented 8 years ago

v3.3.6也有同样的问题!

stylehuan commented 8 years ago

v3.3.17也一样

ps :配置错了。。。。

imac8t commented 8 years ago

@stylehuan 怎么错了?

pimkle commented 8 years ago

我设置了_css文件夹下ignore有用,设置_js文件夹下ignore无用。设置后缀名ignore从来就没有生效过,好郁闷。。。