1.0.0 • Published 5 years ago

svn-commiter v1.0.0

Weekly downloads
-
License
ISC
Repository
github
Last release
5 years ago

配置方式

.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: () => {
    
  }
}
1.0.1

5 years ago

1.0.0

5 years ago