From dcbe0d59e4c1feed285a716431d38dae42578a79 Mon Sep 17 00:00:00 2001 From: xieguigang Date: Fri, 4 Dec 2020 10:39:20 +0800 Subject: [PATCH] config projects --- Centos/Centos.vbproj | 32 ++++++++++++ Centos/PuTTY.vb | 14 ++++-- Docker/Docker.vbproj | 113 ++++++++++++++++++++++++++++++++++--------- 3 files changed, 133 insertions(+), 26 deletions(-) diff --git a/Centos/Centos.vbproj b/Centos/Centos.vbproj index 61d66c8..a144ccd 100644 --- a/Centos/Centos.vbproj +++ b/Centos/Centos.vbproj @@ -241,6 +241,38 @@ x86 MinimumRecommendedRules.ruleset + + true + bin\mzkit\ + Centos.xml + true + 42016,41999,42017,42018,42019,42032,42036,42020,42021,42022 + pdbonly + AnyCPU + MinimumRecommendedRules.ruleset + + + true + ..\..\..\..\..\mzkit\dist\bin\ + Centos.xml + false + 42016,41999,42017,42018,42019,42032,42036,42020,42021,42022 + full + x64 + MinimumRecommendedRules.ruleset + true + true + + + true + bin\x86\mzkit\ + Centos.xml + true + 42016,41999,42017,42018,42019,42032,42036,42020,42021,42022 + pdbonly + x86 + MinimumRecommendedRules.ruleset + diff --git a/Centos/PuTTY.vb b/Centos/PuTTY.vb index e402b5e..896987c 100644 --- a/Centos/PuTTY.vb +++ b/Centos/PuTTY.vb @@ -1,4 +1,5 @@  +Imports Microsoft.VisualBasic.CommandLine ''' ''' PuTTY automation combine with the hyper-V virtual machine for windows server ''' @@ -34,7 +35,7 @@ Public Class PuTTY ''' Public Function Run(bash As String) As String Dim cli As String = $"{endpoint} -P {port} -l {user} -pw ""{password}"" -batch /bin/bash ""{bash}""" - Dim std_out As String = CommandLine.Call(plink, cli) + Dim std_out As String = [Call](plink, cli) Return std_out End Function @@ -42,8 +43,15 @@ Public Class PuTTY Public Function Shell(command As String, Optional arguments As String = Nothing) As String Dim cmdl As String = If(arguments.StringEmpty, command, $"{command} {arguments}") Dim cli As String = $"{user}@{endpoint} -P {port} -pw ""{password}"" -batch {cmdl}" - Dim std_out As String = CommandLine.Call(plink, cli) + ' Dim std_out As String = CommandLine.Call(plink, cli) - Return std_out + With New IORedirectFile(plink, cli) + Dim std_out As String + + Call .Run() + std_out = .StandardOutput + + Return std_out + End With End Function End Class diff --git a/Docker/Docker.vbproj b/Docker/Docker.vbproj index 3eb369e..60dc320 100644 --- a/Docker/Docker.vbproj +++ b/Docker/Docker.vbproj @@ -21,7 +21,9 @@ true bin\Debug\ Docker.xml - 42016,41999,42017,42018,42019,42032,42036,42020,42021,42022 + 41999,42016,42017,42018,42019,42020,42021,42022,42032,42036 + + pdbonly @@ -30,7 +32,9 @@ true bin\Release\ Docker.xml - 42016,41999,42017,42018,42019,42032,42036,42020,42021,42022 + 41999,42016,42017,42018,42019,42020,42021,42022,42032,42036 + + On @@ -46,44 +50,65 @@ true - true + false true - bin\x64\Debug\ + ..\..\..\..\..\mzkit\dist\bin\ Docker.xml - 42016,41999,42017,42018,42019,42032,42036,42020,42021,42022 + 41999,42016,42017,42018,42019,42020,42021,42022,42032,42036 full x64 MinimumRecommendedRules.ruleset + + + true true bin\x64\Release\ Docker.xml true - 42016,41999,42017,42018,42019,42032,42036,42020,42021,42022 + 41999,42016,42017,42018,42019,42020,42021,42022,42032,42036 pdbonly x64 MinimumRecommendedRules.ruleset + + true bin\GCModeller%28Release_X64%29\ Docker.xml true - 42016,41999,42017,42018,42019,42032,42036,42020,42021,42022 + 41999,42016,42017,42018,42019,42020,42021,42022,42032,42036 pdbonly AnyCPU MinimumRecommendedRules.ruleset + + + + + true + bin\GCModeller%28Release_X64%29\ + Docker.xml + true + 41999,42016,42017,42018,42019,42020,42021,42022,42032,42036 + pdbonly + AnyCPU + MinimumRecommendedRules.ruleset + + true bin\x64\GCModeller%28Release_X64%29\ Docker.xml true - 42016,41999,42017,42018,42019,42032,42036,42020,42021,42022 + 41999,42016,42017,42018,42019,42020,42021,42022,42032,42036 pdbonly x64 MinimumRecommendedRules.ruleset + + true @@ -91,134 +116,160 @@ true bin\x86\Debug\ Docker.xml - 42016,41999,42017,42018,42019,42032,42036,42020,42021,42022 + 41999,42016,42017,42018,42019,42020,42021,42022,42032,42036 full x86 MinimumRecommendedRules.ruleset + + true bin\x86\Release\ Docker.xml true - 42016,41999,42017,42018,42019,42032,42036,42020,42021,42022 + 41999,42016,42017,42018,42019,42020,42021,42022,42032,42036 pdbonly x86 MinimumRecommendedRules.ruleset + + true bin\x86\GCModeller%28Release_X64%29\ Docker.xml true - 42016,41999,42017,42018,42019,42032,42036,42020,42021,42022 + 41999,42016,42017,42018,42019,42020,42021,42022,42032,42036 pdbonly x86 MinimumRecommendedRules.ruleset + + true bin\Biostack\ Docker.xml true - 42016,41999,42017,42018,42019,42032,42036,42020,42021,42022 + 41999,42016,42017,42018,42019,42020,42021,42022,42032,42036 pdbonly AnyCPU MinimumRecommendedRules.ruleset + + true bin\x64\Biostack\ Docker.xml true - 42016,41999,42017,42018,42019,42032,42036,42020,42021,42022 + 41999,42016,42017,42018,42019,42020,42021,42022,42032,42036 pdbonly x64 MinimumRecommendedRules.ruleset + + true bin\x86\Biostack\ Docker.xml true - 42016,41999,42017,42018,42019,42032,42036,42020,42021,42022 + 41999,42016,42017,42018,42019,42020,42021,42022,42032,42036 pdbonly x86 MinimumRecommendedRules.ruleset + + true bin\GCModeller%28UNIX-Release_X64%29\ Docker.xml true - 42016,41999,42017,42018,42019,42032,42036,42020,42021,42022 + 41999,42016,42017,42018,42019,42020,42021,42022,42032,42036 pdbonly AnyCPU MinimumRecommendedRules.ruleset + + true ..\..\..\..\GCModeller\bin\ Docker.xml false - 42016,41999,42017,42018,42019,42032,42036,42020,42021,42022 + 41999,42016,42017,42018,42019,42020,42021,42022,42032,42036 full x64 MinimumRecommendedRules.ruleset true true + + true bin\x86\GCModeller%28UNIX-Release_X64%29\ Docker.xml true - 42016,41999,42017,42018,42019,42032,42036,42020,42021,42022 + 41999,42016,42017,42018,42019,42020,42021,42022,42032,42036 pdbonly x86 MinimumRecommendedRules.ruleset + + true bin\Biodeep\ Docker.xml true - 42016,41999,42017,42018,42019,42032,42036,42020,42021,42022 + 41999,42016,42017,42018,42019,42020,42021,42022,42032,42036 pdbonly AnyCPU MinimumRecommendedRules.ruleset + + true ..\build\ Docker.xml false - 42016,41999,42017,42018,42019,42032,42036,42020,42021,42022 + 41999,42016,42017,42018,42019,42020,42021,42022,42032,42036 full x64 MinimumRecommendedRules.ruleset true true + + true bin\x86\Biodeep\ Docker.xml true - 42016,41999,42017,42018,42019,42032,42036,42020,42021,42022 + 41999,42016,42017,42018,42019,42020,42021,42022,42032,42036 pdbonly x86 MinimumRecommendedRules.ruleset + + true bin\Docker\ Docker.xml true - 42016,41999,42017,42018,42019,42032,42036,42020,42021,42022 + 41999,42016,42017,42018,42019,42020,42021,42022,42032,42036 pdbonly AnyCPU MinimumRecommendedRules.ruleset + + true @@ -226,20 +277,36 @@ ..\build\ true Docker.xml - 42016,41999,42017,42018,42019,42032,42036,42020,42021,42022 + 41999,42016,42017,42018,42019,42020,42021,42022,42032,42036 full x64 MinimumRecommendedRules.ruleset + + true bin\x86\Docker\ Docker.xml true - 42016,41999,42017,42018,42019,42032,42036,42020,42021,42022 + 41999,42016,42017,42018,42019,42020,42021,42022,42032,42036 pdbonly x86 MinimumRecommendedRules.ruleset + + + + + + + 41999,42016,42017,42018,42019,42020,42021,42022,42032,42036 + Docker.xml + + + + + 41999,42016,42017,42018,42019,42020,42021,42022,42032,42036 + Docker.xml