grunt-template-compile

compile adsage template

npm install grunt-template-compile
22 downloads in the last week
44 downloads in the last month

grunt-template-compile

compile adsage ad template.

Getting Started

install commend

npm install grunt-template-compile --save-dev

Gruntfile.js configs

compile : {
    options : {
        config : 'src/config.txt',

        onlinedbhost : '172.16.60.71',
        onlinedbuser : 'bc_reader',
        onlinedbpawd : 'bc@$^read',

        dbhost : '172.16.18.111',
        dbuser : 'root',
        dbpawd : '1qaz@WSX'
    },
    dev : {
        cdnpath : 'http://cdn-dev.adsage.tk/st/',
        src: ['src/*.html'],
        dest: 'dist'
    },
    online : {
        cdnpath : 'http://mws.adsage.com/mobisage/st/',
        src: ['src/*.html'],
        dest: 'dist'
    }
}
npm loves you