1.0.0 • Published 5 years ago
svn-commiter v1.0.0
配置方式
.svncommit.config.js
注意:目前钩子函数不支持异步函数
const path = require('path')
const fs = require('fs')
module.exports = {
from: 'E:/jsproject/chinadci/tanxin-test1',
to: 'E:/jsproject/chinadci/tanxin-test',
ignore:[
/111/
],
beforeDelete: (config) => {
},
afterDelete: () => {
},
beforeCopy: (config) => {
},
afterCopy: () => {
},
beforeCommit: () => {
},
afterCommit: () => {
}
}