mirror of
https://github.com/duanhf2012/origin.git
synced 2026-02-03 22:45:13 +08:00
新增编译标记以及编译操作系统类型
This commit is contained in:
@@ -15,3 +15,7 @@ func KillProcess(processId int){
|
||||
fmt.Printf("kill processid %d is successful.\n",processId)
|
||||
}
|
||||
}
|
||||
|
||||
func GetBuildOSType() BuildOSType{
|
||||
return Linux
|
||||
}
|
||||
|
||||
@@ -15,3 +15,7 @@ func KillProcess(processId int){
|
||||
fmt.Printf("kill processid %d is successful.\n",processId)
|
||||
}
|
||||
}
|
||||
|
||||
func GetBuildOSType() BuildOSType{
|
||||
return Mac
|
||||
}
|
||||
|
||||
@@ -4,4 +4,8 @@ package node
|
||||
|
||||
func KillProcess(processId int){
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
func GetBuildOSType() BuildOSType{
|
||||
return Windows
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user