Commit b6bea748 authored by wentao.suo's avatar wentao.suo

fix

parent 531f24a3
......@@ -163,6 +163,15 @@ def checkout_luaui(systemName, branchName) {
gitPath = projectAttr["gitPath"]
currentPath = sh (script: 'pwd',returnStdout: true).trim()
def packejson = new File( "${currentPath}/package.json" )
if(!packejson.existes()){
sh "mkdir dist"
return
}
def folder = new File( "${currentPath}/.git/hooks" )
def hookExist = folder.exists()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment