[Build] Use APITool instead of GenDummy
authorWonyoung Choi <wy80.choi@samsung.com>
Fri, 8 Feb 2019 02:39:29 +0000 (11:39 +0900)
committerWonyoung Choi <wy80.choi@samsung.com>
Fri, 8 Feb 2019 02:39:29 +0000 (11:39 +0900)
21 files changed:
build/build.proj
tools/Tools.sln [deleted file]
tools/bin/ABIChecker/ABIChecker.deps.json
tools/bin/ABIChecker/ABIChecker.dll
tools/bin/ABIChecker/CommandLine.dll
tools/bin/GenDummy/CommandLine.dll [deleted file]
tools/bin/GenDummy/GenDummy.deps.json [deleted file]
tools/bin/GenDummy/GenDummy.dll [deleted file]
tools/bin/GenDummy/GenDummy.pdb [deleted file]
tools/bin/GenDummy/GenDummy.runtimeconfig.json [deleted file]
tools/bin/GenDummy/Mono.Cecil.Mdb.dll [deleted file]
tools/bin/GenDummy/Mono.Cecil.Pdb.dll [deleted file]
tools/bin/GenDummy/Mono.Cecil.Rocks.dll [deleted file]
tools/bin/GenDummy/Mono.Cecil.dll [deleted file]
tools/build-tools.sh
tools/src/ABIChecker/ABIChecker.csproj
tools/src/GenDummy/Converter.cs [deleted file]
tools/src/GenDummy/GenDummy.csproj [deleted file]
tools/src/GenDummy/Log.cs [deleted file]
tools/src/GenDummy/Options.cs [deleted file]
tools/src/GenDummy/Program.cs [deleted file]

index 5734f23..338f98e 100644 (file)
   <Target Name="Dummy">
 
     <PropertyGroup>
-      <GenDummyToolPath>$(MSBuildThisFileDirectory)..\tools\bin\GenDummy\GenDummy.dll</GenDummyToolPath>
+      <APIToolPath>$(MSBuildThisFileDirectory)..\tools\bin\APITool\APITool.dll</APIToolPath>
     </PropertyGroup>
 
     <MakeDir Directories="$(OutputDummyDir)" />
-    <Exec Command="dotnet $([System.IO.Path]::GetFullPath('$(GenDummyToolPath)')) $(OutputPublicDir)ref $(OutputDummyDir) " />
+    <Exec Command="dotnet $([System.IO.Path]::GetFullPath('$(APIToolPath)')) dummy $(OutputPublicDir)ref $(OutputDummyDir) " />
 
   </Target>
 
diff --git a/tools/Tools.sln b/tools/Tools.sln
deleted file mode 100644 (file)
index 12d1def..0000000
+++ /dev/null
@@ -1,69 +0,0 @@
-
-Microsoft Visual Studio Solution File, Format Version 12.00
-# Visual Studio 15
-VisualStudioVersion = 15.0.26124.0
-MinimumVisualStudioVersion = 15.0.26124.0
-Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "src", "src", "{AD3273CC-611A-4C16-B000-A377C6C99D71}"
-EndProject
-Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ABIChecker", "src\ABIChecker\ABIChecker.csproj", "{67CEC1C6-C732-41AA-B062-6544003555A0}"
-EndProject
-Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "GenDummy", "src\GenDummy\GenDummy.csproj", "{3184D14E-4619-4FE3-94EB-C3E254A5742E}"
-EndProject
-Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "APITool", "src\APITool\APITool.csproj", "{C089609B-9760-4B66-A5FD-A81CFDD94152}"
-EndProject
-Global
-       GlobalSection(SolutionConfigurationPlatforms) = preSolution
-               Debug|Any CPU = Debug|Any CPU
-               Debug|x64 = Debug|x64
-               Debug|x86 = Debug|x86
-               Release|Any CPU = Release|Any CPU
-               Release|x64 = Release|x64
-               Release|x86 = Release|x86
-       EndGlobalSection
-       GlobalSection(SolutionProperties) = preSolution
-               HideSolutionNode = FALSE
-       EndGlobalSection
-       GlobalSection(ProjectConfigurationPlatforms) = postSolution
-               {67CEC1C6-C732-41AA-B062-6544003555A0}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
-               {67CEC1C6-C732-41AA-B062-6544003555A0}.Debug|Any CPU.Build.0 = Debug|Any CPU
-               {67CEC1C6-C732-41AA-B062-6544003555A0}.Debug|x64.ActiveCfg = Debug|Any CPU
-               {67CEC1C6-C732-41AA-B062-6544003555A0}.Debug|x64.Build.0 = Debug|Any CPU
-               {67CEC1C6-C732-41AA-B062-6544003555A0}.Debug|x86.ActiveCfg = Debug|Any CPU
-               {67CEC1C6-C732-41AA-B062-6544003555A0}.Debug|x86.Build.0 = Debug|Any CPU
-               {67CEC1C6-C732-41AA-B062-6544003555A0}.Release|Any CPU.ActiveCfg = Release|Any CPU
-               {67CEC1C6-C732-41AA-B062-6544003555A0}.Release|Any CPU.Build.0 = Release|Any CPU
-               {67CEC1C6-C732-41AA-B062-6544003555A0}.Release|x64.ActiveCfg = Release|Any CPU
-               {67CEC1C6-C732-41AA-B062-6544003555A0}.Release|x64.Build.0 = Release|Any CPU
-               {67CEC1C6-C732-41AA-B062-6544003555A0}.Release|x86.ActiveCfg = Release|Any CPU
-               {67CEC1C6-C732-41AA-B062-6544003555A0}.Release|x86.Build.0 = Release|Any CPU
-               {3184D14E-4619-4FE3-94EB-C3E254A5742E}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
-               {3184D14E-4619-4FE3-94EB-C3E254A5742E}.Debug|Any CPU.Build.0 = Debug|Any CPU
-               {3184D14E-4619-4FE3-94EB-C3E254A5742E}.Debug|x64.ActiveCfg = Debug|Any CPU
-               {3184D14E-4619-4FE3-94EB-C3E254A5742E}.Debug|x64.Build.0 = Debug|Any CPU
-               {3184D14E-4619-4FE3-94EB-C3E254A5742E}.Debug|x86.ActiveCfg = Debug|Any CPU
-               {3184D14E-4619-4FE3-94EB-C3E254A5742E}.Debug|x86.Build.0 = Debug|Any CPU
-               {3184D14E-4619-4FE3-94EB-C3E254A5742E}.Release|Any CPU.ActiveCfg = Release|Any CPU
-               {3184D14E-4619-4FE3-94EB-C3E254A5742E}.Release|Any CPU.Build.0 = Release|Any CPU
-               {3184D14E-4619-4FE3-94EB-C3E254A5742E}.Release|x64.ActiveCfg = Release|Any CPU
-               {3184D14E-4619-4FE3-94EB-C3E254A5742E}.Release|x64.Build.0 = Release|Any CPU
-               {3184D14E-4619-4FE3-94EB-C3E254A5742E}.Release|x86.ActiveCfg = Release|Any CPU
-               {3184D14E-4619-4FE3-94EB-C3E254A5742E}.Release|x86.Build.0 = Release|Any CPU
-               {C089609B-9760-4B66-A5FD-A81CFDD94152}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
-               {C089609B-9760-4B66-A5FD-A81CFDD94152}.Debug|Any CPU.Build.0 = Debug|Any CPU
-               {C089609B-9760-4B66-A5FD-A81CFDD94152}.Debug|x64.ActiveCfg = Debug|Any CPU
-               {C089609B-9760-4B66-A5FD-A81CFDD94152}.Debug|x64.Build.0 = Debug|Any CPU
-               {C089609B-9760-4B66-A5FD-A81CFDD94152}.Debug|x86.ActiveCfg = Debug|Any CPU
-               {C089609B-9760-4B66-A5FD-A81CFDD94152}.Debug|x86.Build.0 = Debug|Any CPU
-               {C089609B-9760-4B66-A5FD-A81CFDD94152}.Release|Any CPU.ActiveCfg = Release|Any CPU
-               {C089609B-9760-4B66-A5FD-A81CFDD94152}.Release|Any CPU.Build.0 = Release|Any CPU
-               {C089609B-9760-4B66-A5FD-A81CFDD94152}.Release|x64.ActiveCfg = Release|Any CPU
-               {C089609B-9760-4B66-A5FD-A81CFDD94152}.Release|x64.Build.0 = Release|Any CPU
-               {C089609B-9760-4B66-A5FD-A81CFDD94152}.Release|x86.ActiveCfg = Release|Any CPU
-               {C089609B-9760-4B66-A5FD-A81CFDD94152}.Release|x86.Build.0 = Release|Any CPU
-       EndGlobalSection
-       GlobalSection(NestedProjects) = preSolution
-               {67CEC1C6-C732-41AA-B062-6544003555A0} = {AD3273CC-611A-4C16-B000-A377C6C99D71}
-               {3184D14E-4619-4FE3-94EB-C3E254A5742E} = {AD3273CC-611A-4C16-B000-A377C6C99D71}
-               {C089609B-9760-4B66-A5FD-A81CFDD94152} = {AD3273CC-611A-4C16-B000-A377C6C99D71}
-       EndGlobalSection
-EndGlobal
index 9239c49..49ffc46 100644 (file)
@@ -1,14 +1,14 @@
 {
   "runtimeTarget": {
     "name": ".NETCoreApp,Version=v2.0",
-    "signature": "c90303c5d0baaa71801ec3ac12b8874a1a1a341b"
+    "signature": "2fc82585dcddaec47eca18d7e283975ba2b60422"
   },
   "compilationOptions": {},
   "targets": {
     ".NETCoreApp,Version=v2.0": {
       "ABIChecker/1.0.0": {
         "dependencies": {
-          "CommandLineParser": "2.2.1",
+          "CommandLineParser": "2.4.3",
           "Microsoft.CodeAnalysis": "2.6.1",
           "Microsoft.Extensions.DependencyModel": "2.0.4",
           "System.Runtime.Loader": "4.3.0"
           "ABIChecker.dll": {}
         }
       },
-      "CommandLineParser/2.2.1": {
-        "dependencies": {
-          "System.Collections": "4.3.0",
-          "System.Console": "4.3.0",
-          "System.Diagnostics.Debug": "4.3.0",
-          "System.Globalization": "4.3.0",
-          "System.IO": "4.3.0",
-          "System.Linq": "4.3.0",
-          "System.Linq.Expressions": "4.3.0",
-          "System.Reflection": "4.3.0",
-          "System.Reflection.Extensions": "4.3.0",
-          "System.Reflection.TypeExtensions": "4.3.0",
-          "System.Resources.ResourceManager": "4.3.0",
-          "System.Runtime": "4.3.0",
-          "System.Runtime.Extensions": "4.3.0"
-        },
+      "CommandLineParser/2.4.3": {
         "runtime": {
-          "lib/netstandard1.5/CommandLine.dll": {
-            "assemblyVersion": "2.0.275.0",
-            "fileVersion": "2.0.275.0"
+          "lib/netstandard2.0/CommandLine.dll": {
+            "assemblyVersion": "2.4.3.0",
+            "fileVersion": "2.4.3.0"
           }
         }
       },
       "serviceable": false,
       "sha512": ""
     },
-    "CommandLineParser/2.2.1": {
+    "CommandLineParser/2.4.3": {
       "type": "package",
       "serviceable": true,
-      "sha512": "sha512-s+cVeOzKcoPu0IWda5DPd0b9K7vfKqo17aOOrj5zsUnE5n3Bts8vutn5R3KYqBlnbuqQEXzJT7IhAkRKMXouzw==",
-      "path": "commandlineparser/2.2.1",
-      "hashPath": "commandlineparser.2.2.1.nupkg.sha512"
+      "sha512": "sha512-3/WpSCsHNo4aTSaNW9SnmSqRNDgR4meKVJn5anKZn/hR/lGnDp8HbDMu1/w2GXOXi2rAhREU1cNwQMtEtlR1mg==",
+      "path": "commandlineparser/2.4.3",
+      "hashPath": "commandlineparser.2.4.3.nupkg.sha512"
     },
     "Microsoft.CodeAnalysis/2.6.1": {
       "type": "package",
index 7eb929a..13f8f37 100644 (file)
Binary files a/tools/bin/ABIChecker/ABIChecker.dll and b/tools/bin/ABIChecker/ABIChecker.dll differ
index 54429a9..a7feec1 100755 (executable)
Binary files a/tools/bin/ABIChecker/CommandLine.dll and b/tools/bin/ABIChecker/CommandLine.dll differ
diff --git a/tools/bin/GenDummy/CommandLine.dll b/tools/bin/GenDummy/CommandLine.dll
deleted file mode 100755 (executable)
index 458ceb4..0000000
Binary files a/tools/bin/GenDummy/CommandLine.dll and /dev/null differ
diff --git a/tools/bin/GenDummy/GenDummy.deps.json b/tools/bin/GenDummy/GenDummy.deps.json
deleted file mode 100644 (file)
index 20cb6be..0000000
+++ /dev/null
@@ -1,644 +0,0 @@
-{
-  "runtimeTarget": {
-    "name": ".NETCoreApp,Version=v2.0",
-    "signature": "0f033107f0a2cc6bf4e36632446ba9fb3c92208c"
-  },
-  "compilationOptions": {},
-  "targets": {
-    ".NETCoreApp,Version=v2.0": {
-      "GenDummy/1.0.0": {
-        "dependencies": {
-          "CommandLineParser": "2.3.0",
-          "Mono.Cecil": "0.10.1"
-        },
-        "runtime": {
-          "GenDummy.dll": {}
-        }
-      },
-      "CommandLineParser/2.3.0": {
-        "dependencies": {
-          "System.Collections": "4.0.11",
-          "System.Console": "4.0.0-rc2-24027",
-          "System.Diagnostics.Debug": "4.0.11",
-          "System.Globalization": "4.0.11",
-          "System.IO": "4.1.0",
-          "System.Linq": "4.1.0",
-          "System.Linq.Expressions": "4.0.11-rc2-24027",
-          "System.Reflection": "4.1.0",
-          "System.Reflection.Extensions": "4.0.1-rc2-24027",
-          "System.Reflection.TypeExtensions": "4.1.0-rc2-24027",
-          "System.Resources.ResourceManager": "4.0.1",
-          "System.Runtime": "4.1.0",
-          "System.Runtime.Extensions": "4.1.0"
-        },
-        "runtime": {
-          "lib/netstandard1.5/CommandLine.dll": {
-            "assemblyVersion": "2.0.275.0",
-            "fileVersion": "2.0.275.0"
-          }
-        }
-      },
-      "Microsoft.NETCore.Targets/1.0.1": {},
-      "Mono.Cecil/0.10.1": {
-        "dependencies": {
-          "System.Collections": "4.0.11",
-          "System.IO.FileSystem": "4.0.1",
-          "System.IO.FileSystem.Primitives": "4.0.1",
-          "System.Reflection": "4.1.0",
-          "System.Runtime.Extensions": "4.1.0",
-          "System.Security.Cryptography.Algorithms": "4.2.0",
-          "System.Security.Cryptography.Csp": "4.0.0",
-          "System.Threading": "4.0.11"
-        },
-        "runtime": {
-          "lib/netstandard1.3/Mono.Cecil.Mdb.dll": {
-            "assemblyVersion": "0.10.1.0",
-            "fileVersion": "0.10.1.0"
-          },
-          "lib/netstandard1.3/Mono.Cecil.Pdb.dll": {
-            "assemblyVersion": "0.10.1.0",
-            "fileVersion": "0.10.1.0"
-          },
-          "lib/netstandard1.3/Mono.Cecil.Rocks.dll": {
-            "assemblyVersion": "0.10.1.0",
-            "fileVersion": "0.10.1.0"
-          },
-          "lib/netstandard1.3/Mono.Cecil.dll": {
-            "assemblyVersion": "0.10.1.0",
-            "fileVersion": "0.10.1.0"
-          }
-        }
-      },
-      "runtime.native.System.Security.Cryptography/4.0.0": {
-        "dependencies": {
-          "Microsoft.NETCore.Targets": "1.0.1"
-        }
-      },
-      "System.Collections/4.0.11": {
-        "dependencies": {
-          "Microsoft.NETCore.Targets": "1.0.1",
-          "System.Runtime": "4.1.0"
-        }
-      },
-      "System.Collections.Concurrent/4.0.12": {
-        "dependencies": {
-          "System.Collections": "4.0.11",
-          "System.Diagnostics.Debug": "4.0.11",
-          "System.Diagnostics.Tracing": "4.1.0",
-          "System.Globalization": "4.0.11",
-          "System.Reflection": "4.1.0",
-          "System.Resources.ResourceManager": "4.0.1",
-          "System.Runtime": "4.1.0",
-          "System.Runtime.Extensions": "4.1.0",
-          "System.Threading": "4.0.11",
-          "System.Threading.Tasks": "4.0.11"
-        }
-      },
-      "System.Console/4.0.0-rc2-24027": {
-        "dependencies": {
-          "System.IO": "4.1.0",
-          "System.Runtime": "4.1.0",
-          "System.Text.Encoding": "4.0.11"
-        }
-      },
-      "System.Diagnostics.Debug/4.0.11": {
-        "dependencies": {
-          "Microsoft.NETCore.Targets": "1.0.1",
-          "System.Runtime": "4.1.0"
-        }
-      },
-      "System.Diagnostics.Tracing/4.1.0": {
-        "dependencies": {
-          "Microsoft.NETCore.Targets": "1.0.1",
-          "System.Runtime": "4.1.0"
-        }
-      },
-      "System.Globalization/4.0.11": {
-        "dependencies": {
-          "Microsoft.NETCore.Targets": "1.0.1",
-          "System.Runtime": "4.1.0"
-        }
-      },
-      "System.IO/4.1.0": {
-        "dependencies": {
-          "Microsoft.NETCore.Targets": "1.0.1",
-          "System.Runtime": "4.1.0",
-          "System.Text.Encoding": "4.0.11",
-          "System.Threading.Tasks": "4.0.11"
-        }
-      },
-      "System.IO.FileSystem/4.0.1": {
-        "dependencies": {
-          "Microsoft.NETCore.Targets": "1.0.1",
-          "System.IO": "4.1.0",
-          "System.IO.FileSystem.Primitives": "4.0.1",
-          "System.Runtime": "4.1.0",
-          "System.Runtime.Handles": "4.0.1",
-          "System.Text.Encoding": "4.0.11",
-          "System.Threading.Tasks": "4.0.11"
-        }
-      },
-      "System.IO.FileSystem.Primitives/4.0.1": {
-        "dependencies": {
-          "System.Runtime": "4.1.0"
-        }
-      },
-      "System.Linq/4.1.0": {
-        "dependencies": {
-          "System.Collections": "4.0.11",
-          "System.Diagnostics.Debug": "4.0.11",
-          "System.Resources.ResourceManager": "4.0.1",
-          "System.Runtime": "4.1.0",
-          "System.Runtime.Extensions": "4.1.0"
-        }
-      },
-      "System.Linq.Expressions/4.0.11-rc2-24027": {
-        "dependencies": {
-          "System.Collections": "4.0.11",
-          "System.Diagnostics.Debug": "4.0.11",
-          "System.Globalization": "4.0.11",
-          "System.IO": "4.1.0",
-          "System.Linq": "4.1.0",
-          "System.ObjectModel": "4.0.12-rc2-24027",
-          "System.Reflection": "4.1.0",
-          "System.Reflection.Emit": "4.0.1-rc2-24027",
-          "System.Reflection.Emit.ILGeneration": "4.0.1-rc2-24027",
-          "System.Reflection.Emit.Lightweight": "4.0.1-rc2-24027",
-          "System.Reflection.Extensions": "4.0.1-rc2-24027",
-          "System.Reflection.Primitives": "4.0.1",
-          "System.Reflection.TypeExtensions": "4.1.0-rc2-24027",
-          "System.Resources.ResourceManager": "4.0.1",
-          "System.Runtime": "4.1.0",
-          "System.Runtime.Extensions": "4.1.0",
-          "System.Threading": "4.0.11"
-        }
-      },
-      "System.ObjectModel/4.0.12-rc2-24027": {
-        "dependencies": {
-          "System.Collections": "4.0.11",
-          "System.Diagnostics.Debug": "4.0.11",
-          "System.Resources.ResourceManager": "4.0.1",
-          "System.Runtime": "4.1.0",
-          "System.Threading": "4.0.11"
-        }
-      },
-      "System.Reflection/4.1.0": {
-        "dependencies": {
-          "Microsoft.NETCore.Targets": "1.0.1",
-          "System.IO": "4.1.0",
-          "System.Reflection.Primitives": "4.0.1",
-          "System.Runtime": "4.1.0"
-        }
-      },
-      "System.Reflection.Emit/4.0.1-rc2-24027": {
-        "dependencies": {
-          "System.IO": "4.1.0",
-          "System.Reflection": "4.1.0",
-          "System.Reflection.Emit.ILGeneration": "4.0.1-rc2-24027",
-          "System.Reflection.Primitives": "4.0.1",
-          "System.Runtime": "4.1.0"
-        }
-      },
-      "System.Reflection.Emit.ILGeneration/4.0.1-rc2-24027": {
-        "dependencies": {
-          "System.Reflection": "4.1.0",
-          "System.Reflection.Primitives": "4.0.1",
-          "System.Runtime": "4.1.0"
-        }
-      },
-      "System.Reflection.Emit.Lightweight/4.0.1-rc2-24027": {
-        "dependencies": {
-          "System.Reflection": "4.1.0",
-          "System.Reflection.Emit.ILGeneration": "4.0.1-rc2-24027",
-          "System.Reflection.Primitives": "4.0.1",
-          "System.Runtime": "4.1.0"
-        }
-      },
-      "System.Reflection.Extensions/4.0.1-rc2-24027": {
-        "dependencies": {
-          "System.Reflection": "4.1.0",
-          "System.Runtime": "4.1.0"
-        }
-      },
-      "System.Reflection.Primitives/4.0.1": {
-        "dependencies": {
-          "Microsoft.NETCore.Targets": "1.0.1",
-          "System.Runtime": "4.1.0"
-        }
-      },
-      "System.Reflection.TypeExtensions/4.1.0-rc2-24027": {
-        "dependencies": {
-          "System.Reflection": "4.1.0",
-          "System.Runtime": "4.1.0"
-        }
-      },
-      "System.Resources.ResourceManager/4.0.1": {
-        "dependencies": {
-          "Microsoft.NETCore.Targets": "1.0.1",
-          "System.Globalization": "4.0.11",
-          "System.Reflection": "4.1.0",
-          "System.Runtime": "4.1.0"
-        }
-      },
-      "System.Runtime/4.1.0": {
-        "dependencies": {
-          "Microsoft.NETCore.Targets": "1.0.1"
-        }
-      },
-      "System.Runtime.Extensions/4.1.0": {
-        "dependencies": {
-          "Microsoft.NETCore.Targets": "1.0.1",
-          "System.Runtime": "4.1.0"
-        }
-      },
-      "System.Runtime.Handles/4.0.1": {
-        "dependencies": {
-          "Microsoft.NETCore.Targets": "1.0.1",
-          "System.Runtime": "4.1.0"
-        }
-      },
-      "System.Runtime.InteropServices/4.1.0": {
-        "dependencies": {
-          "Microsoft.NETCore.Targets": "1.0.1",
-          "System.Reflection": "4.1.0",
-          "System.Reflection.Primitives": "4.0.1",
-          "System.Runtime": "4.1.0",
-          "System.Runtime.Handles": "4.0.1"
-        }
-      },
-      "System.Runtime.Numerics/4.0.1": {
-        "dependencies": {
-          "System.Globalization": "4.0.11",
-          "System.Resources.ResourceManager": "4.0.1",
-          "System.Runtime": "4.1.0",
-          "System.Runtime.Extensions": "4.1.0"
-        }
-      },
-      "System.Security.Cryptography.Algorithms/4.2.0": {
-        "dependencies": {
-          "System.Collections": "4.0.11",
-          "System.IO": "4.1.0",
-          "System.Resources.ResourceManager": "4.0.1",
-          "System.Runtime": "4.1.0",
-          "System.Runtime.Extensions": "4.1.0",
-          "System.Runtime.Handles": "4.0.1",
-          "System.Runtime.InteropServices": "4.1.0",
-          "System.Runtime.Numerics": "4.0.1",
-          "System.Security.Cryptography.Encoding": "4.0.0",
-          "System.Security.Cryptography.Primitives": "4.0.0",
-          "System.Text.Encoding": "4.0.11",
-          "runtime.native.System.Security.Cryptography": "4.0.0"
-        },
-        "runtimeTargets": {
-          "runtime/unix/lib/_._": {
-            "rid": "unix",
-            "assetType": "runtime"
-          },
-          "runtime/win/lib/_._": {
-            "rid": "win",
-            "assetType": "runtime"
-          }
-        }
-      },
-      "System.Security.Cryptography.Csp/4.0.0": {
-        "dependencies": {
-          "System.IO": "4.1.0",
-          "System.Reflection": "4.1.0",
-          "System.Resources.ResourceManager": "4.0.1",
-          "System.Runtime": "4.1.0",
-          "System.Runtime.Extensions": "4.1.0",
-          "System.Runtime.Handles": "4.0.1",
-          "System.Runtime.InteropServices": "4.1.0",
-          "System.Security.Cryptography.Algorithms": "4.2.0",
-          "System.Security.Cryptography.Encoding": "4.0.0",
-          "System.Security.Cryptography.Primitives": "4.0.0",
-          "System.Text.Encoding": "4.0.11",
-          "System.Threading": "4.0.11"
-        },
-        "runtimeTargets": {
-          "runtime/unix/lib/_._": {
-            "rid": "unix",
-            "assetType": "runtime"
-          },
-          "runtime/win/lib/_._": {
-            "rid": "win",
-            "assetType": "runtime"
-          }
-        }
-      },
-      "System.Security.Cryptography.Encoding/4.0.0": {
-        "dependencies": {
-          "System.Collections": "4.0.11",
-          "System.Collections.Concurrent": "4.0.12",
-          "System.Linq": "4.1.0",
-          "System.Resources.ResourceManager": "4.0.1",
-          "System.Runtime": "4.1.0",
-          "System.Runtime.Extensions": "4.1.0",
-          "System.Runtime.Handles": "4.0.1",
-          "System.Runtime.InteropServices": "4.1.0",
-          "System.Security.Cryptography.Primitives": "4.0.0",
-          "System.Text.Encoding": "4.0.11",
-          "runtime.native.System.Security.Cryptography": "4.0.0"
-        },
-        "runtimeTargets": {
-          "runtime/unix/lib/_._": {
-            "rid": "unix",
-            "assetType": "runtime"
-          },
-          "runtime/win/lib/_._": {
-            "rid": "win",
-            "assetType": "runtime"
-          }
-        }
-      },
-      "System.Security.Cryptography.Primitives/4.0.0": {
-        "dependencies": {
-          "System.Diagnostics.Debug": "4.0.11",
-          "System.Globalization": "4.0.11",
-          "System.IO": "4.1.0",
-          "System.Resources.ResourceManager": "4.0.1",
-          "System.Runtime": "4.1.0",
-          "System.Threading": "4.0.11",
-          "System.Threading.Tasks": "4.0.11"
-        }
-      },
-      "System.Text.Encoding/4.0.11": {
-        "dependencies": {
-          "Microsoft.NETCore.Targets": "1.0.1",
-          "System.Runtime": "4.1.0"
-        }
-      },
-      "System.Threading/4.0.11": {
-        "dependencies": {
-          "System.Runtime": "4.1.0",
-          "System.Threading.Tasks": "4.0.11"
-        }
-      },
-      "System.Threading.Tasks/4.0.11": {
-        "dependencies": {
-          "Microsoft.NETCore.Targets": "1.0.1",
-          "System.Runtime": "4.1.0"
-        }
-      }
-    }
-  },
-  "libraries": {
-    "GenDummy/1.0.0": {
-      "type": "project",
-      "serviceable": false,
-      "sha512": ""
-    },
-    "CommandLineParser/2.3.0": {
-      "type": "package",
-      "serviceable": true,
-      "sha512": "sha512-reRoh1qxIxsipV2FPBBkp5zFQZjJ0QKZCODLg6nSGBVJzKMBpLAjZP1QkD8f526RfN4+E1zJR/WHOckSRvllOg==",
-      "path": "commandlineparser/2.3.0",
-      "hashPath": "commandlineparser.2.3.0.nupkg.sha512"
-    },
-    "Microsoft.NETCore.Targets/1.0.1": {
-      "type": "package",
-      "serviceable": true,
-      "sha512": "sha512-rkn+fKobF/cbWfnnfBOQHKVKIOpxMZBvlSHkqDWgBpwGDcLRduvs3D9OLGeV6GWGvVwNlVi2CBbTjuPmtHvyNw==",
-      "path": "microsoft.netcore.targets/1.0.1",
-      "hashPath": "microsoft.netcore.targets.1.0.1.nupkg.sha512"
-    },
-    "Mono.Cecil/0.10.1": {
-      "type": "package",
-      "serviceable": true,
-      "sha512": "sha512-ZpklVgBklS7Rq3UQUzFZZvEpljrdyXxIbHKiZQJ4IMt4CAGYp7Z3mh5hNV4lT2e0CyTJ1Qb5ldNds0HzgYPlGw==",
-      "path": "mono.cecil/0.10.1",
-      "hashPath": "mono.cecil.0.10.1.nupkg.sha512"
-    },
-    "runtime.native.System.Security.Cryptography/4.0.0": {
-      "type": "package",
-      "serviceable": true,
-      "sha512": "sha512-2CQK0jmO6Eu7ZeMgD+LOFbNJSXHFVQbCJJkEyEwowh1SCgYnrn9W9RykMfpeeVGw7h4IBvYikzpGUlmZTUafJw==",
-      "path": "runtime.native.system.security.cryptography/4.0.0",
-      "hashPath": "runtime.native.system.security.cryptography.4.0.0.nupkg.sha512"
-    },
-    "System.Collections/4.0.11": {
-      "type": "package",
-      "serviceable": true,
-      "sha512": "sha512-YUJGz6eFKqS0V//mLt25vFGrrCvOnsXjlvFQs+KimpwNxug9x0Pzy4PlFMU3Q2IzqAa9G2L4LsK3+9vCBK7oTg==",
-      "path": "system.collections/4.0.11",
-      "hashPath": "system.collections.4.0.11.nupkg.sha512"
-    },
-    "System.Collections.Concurrent/4.0.12": {
-      "type": "package",
-      "serviceable": true,
-      "sha512": "sha512-2gBcbb3drMLgxlI0fBfxMA31ec6AEyYCHygGse4vxceJan8mRIWeKJ24BFzN7+bi/NFTgdIgufzb94LWO5EERQ==",
-      "path": "system.collections.concurrent/4.0.12",
-      "hashPath": "system.collections.concurrent.4.0.12.nupkg.sha512"
-    },
-    "System.Console/4.0.0-rc2-24027": {
-      "type": "package",
-      "serviceable": true,
-      "sha512": "sha512-ZkOW7ehVR6vnVTfttO0Z1uf3v7mT8cxQZbPHaGDyTt65qh4WzQOXgZYWqDNduyA1xWlvKh28XAhAkK0P39CcAA==",
-      "path": "system.console/4.0.0-rc2-24027",
-      "hashPath": "system.console.4.0.0-rc2-24027.nupkg.sha512"
-    },
-    "System.Diagnostics.Debug/4.0.11": {
-      "type": "package",
-      "serviceable": true,
-      "sha512": "sha512-w5U95fVKHY4G8ASs/K5iK3J5LY+/dLFd4vKejsnI/ZhBsWS9hQakfx3Zr7lRWKg4tAw9r4iktyvsTagWkqYCiw==",
-      "path": "system.diagnostics.debug/4.0.11",
-      "hashPath": "system.diagnostics.debug.4.0.11.nupkg.sha512"
-    },
-    "System.Diagnostics.Tracing/4.1.0": {
-      "type": "package",
-      "serviceable": true,
-      "sha512": "sha512-vDN1PoMZCkkdNjvZLql592oYJZgS7URcJzJ7bxeBgGtx5UtR5leNm49VmfHGqIffX4FKacHbI3H6UyNSHQknBg==",
-      "path": "system.diagnostics.tracing/4.1.0",
-      "hashPath": "system.diagnostics.tracing.4.1.0.nupkg.sha512"
-    },
-    "System.Globalization/4.0.11": {
-      "type": "package",
-      "serviceable": true,
-      "sha512": "sha512-B95h0YLEL2oSnwF/XjqSWKnwKOy/01VWkNlsCeMTFJLLabflpGV26nK164eRs5GiaRSBGpOxQ3pKoSnnyZN5pg==",
-      "path": "system.globalization/4.0.11",
-      "hashPath": "system.globalization.4.0.11.nupkg.sha512"
-    },
-    "System.IO/4.1.0": {
-      "type": "package",
-      "serviceable": true,
-      "sha512": "sha512-3KlTJceQc3gnGIaHZ7UBZO26SHL1SHE4ddrmiwumFnId+CEHP+O8r386tZKaE6zlk5/mF8vifMBzHj9SaXN+mQ==",
-      "path": "system.io/4.1.0",
-      "hashPath": "system.io.4.1.0.nupkg.sha512"
-    },
-    "System.IO.FileSystem/4.0.1": {
-      "type": "package",
-      "serviceable": true,
-      "sha512": "sha512-IBErlVq5jOggAD69bg1t0pJcHaDbJbWNUZTPI96fkYWzwYbN6D9wRHMULLDd9dHsl7C2YsxXL31LMfPI1SWt8w==",
-      "path": "system.io.filesystem/4.0.1",
-      "hashPath": "system.io.filesystem.4.0.1.nupkg.sha512"
-    },
-    "System.IO.FileSystem.Primitives/4.0.1": {
-      "type": "package",
-      "serviceable": true,
-      "sha512": "sha512-kWkKD203JJKxJeE74p8aF8y4Qc9r9WQx4C0cHzHPrY3fv/L/IhWnyCHaFJ3H1QPOH6A93whlQ2vG5nHlBDvzWQ==",
-      "path": "system.io.filesystem.primitives/4.0.1",
-      "hashPath": "system.io.filesystem.primitives.4.0.1.nupkg.sha512"
-    },
-    "System.Linq/4.1.0": {
-      "type": "package",
-      "serviceable": true,
-      "sha512": "sha512-bQ0iYFOQI0nuTnt+NQADns6ucV4DUvMdwN6CbkB1yj8i7arTGiTN5eok1kQwdnnNWSDZfIUySQY+J3d5KjWn0g==",
-      "path": "system.linq/4.1.0",
-      "hashPath": "system.linq.4.1.0.nupkg.sha512"
-    },
-    "System.Linq.Expressions/4.0.11-rc2-24027": {
-      "type": "package",
-      "serviceable": true,
-      "sha512": "sha512-CfLNPBWzWdqfRGkdIXNWQ+2zSyaegOL4MAQSry0k6t8CQnPwJLywZLIZAV+cU47gi/7C2eM2I63r2eBZNJDovw==",
-      "path": "system.linq.expressions/4.0.11-rc2-24027",
-      "hashPath": "system.linq.expressions.4.0.11-rc2-24027.nupkg.sha512"
-    },
-    "System.ObjectModel/4.0.12-rc2-24027": {
-      "type": "package",
-      "serviceable": true,
-      "sha512": "sha512-8wgKzGVl3RlTMBYsWCjOizWpzH8mm7i0pv2vHwXbpV/rGptDDKzXHyTmdqFdBAfrnsnicwh79hNTc5zzKWKK1A==",
-      "path": "system.objectmodel/4.0.12-rc2-24027",
-      "hashPath": "system.objectmodel.4.0.12-rc2-24027.nupkg.sha512"
-    },
-    "System.Reflection/4.1.0": {
-      "type": "package",
-      "serviceable": true,
-      "sha512": "sha512-JCKANJ0TI7kzoQzuwB/OoJANy1Lg338B6+JVacPl4TpUwi3cReg3nMLplMq2uqYfHFQpKIlHAUVAJlImZz/4ng==",
-      "path": "system.reflection/4.1.0",
-      "hashPath": "system.reflection.4.1.0.nupkg.sha512"
-    },
-    "System.Reflection.Emit/4.0.1-rc2-24027": {
-      "type": "package",
-      "serviceable": true,
-      "sha512": "sha512-C4kvi/Lpj5vgUtCygP0bbBnlYyuDZEU2ofdgGXa8AgV3FkmwNEqJ7zm3OhMFe/kMKRgEkJXkioFdkLHrJJLDTQ==",
-      "path": "system.reflection.emit/4.0.1-rc2-24027",
-      "hashPath": "system.reflection.emit.4.0.1-rc2-24027.nupkg.sha512"
-    },
-    "System.Reflection.Emit.ILGeneration/4.0.1-rc2-24027": {
-      "type": "package",
-      "serviceable": true,
-      "sha512": "sha512-s7puteOinRV3+sGWDLeuUbSSxwZHqHhXpLwoTlS4L0x7d58j868LbKPSPJVZAs6a/dGkyo02WHVDcEtCBjn8VQ==",
-      "path": "system.reflection.emit.ilgeneration/4.0.1-rc2-24027",
-      "hashPath": "system.reflection.emit.ilgeneration.4.0.1-rc2-24027.nupkg.sha512"
-    },
-    "System.Reflection.Emit.Lightweight/4.0.1-rc2-24027": {
-      "type": "package",
-      "serviceable": true,
-      "sha512": "sha512-kDuurD3Z1bYJrW0VqBEoHWLUCWYtto/SF/dajEj8sXftap3zkqBF+3IMb8l4EfRuzytlS2TlmFxiApbB9C8JEA==",
-      "path": "system.reflection.emit.lightweight/4.0.1-rc2-24027",
-      "hashPath": "system.reflection.emit.lightweight.4.0.1-rc2-24027.nupkg.sha512"
-    },
-    "System.Reflection.Extensions/4.0.1-rc2-24027": {
-      "type": "package",
-      "serviceable": true,
-      "sha512": "sha512-5N1tt+n0OHyaZ3Wb73FIfNsRrkFDW1I2fuAzojudgcZ0XcAHqLE0Wb9/JQ2eG6Lp89l2qntx4HvXcIDjVwvYuw==",
-      "path": "system.reflection.extensions/4.0.1-rc2-24027",
-      "hashPath": "system.reflection.extensions.4.0.1-rc2-24027.nupkg.sha512"
-    },
-    "System.Reflection.Primitives/4.0.1": {
-      "type": "package",
-      "serviceable": true,
-      "sha512": "sha512-4inTox4wTBaDhB7V3mPvp9XlCbeGYWVEM9/fXALd52vNEAVisc1BoVWQPuUuD0Ga//dNbA/WeMy9u9mzLxGTHQ==",
-      "path": "system.reflection.primitives/4.0.1",
-      "hashPath": "system.reflection.primitives.4.0.1.nupkg.sha512"
-    },
-    "System.Reflection.TypeExtensions/4.1.0-rc2-24027": {
-      "type": "package",
-      "serviceable": true,
-      "sha512": "sha512-1t2V/qaXZjJ2krlf97bGEcqiNjriHZQv5mx3Mez2PJ2+gqJbu0vPWCSNTN8Y+miCuRm+Pwx0ZFAoCQHkij2xcQ==",
-      "path": "system.reflection.typeextensions/4.1.0-rc2-24027",
-      "hashPath": "system.reflection.typeextensions.4.1.0-rc2-24027.nupkg.sha512"
-    },
-    "System.Resources.ResourceManager/4.0.1": {
-      "type": "package",
-      "serviceable": true,
-      "sha512": "sha512-TxwVeUNoTgUOdQ09gfTjvW411MF+w9MBYL7AtNVc+HtBCFlutPLhUCdZjNkjbhj3bNQWMdHboF0KIWEOjJssbA==",
-      "path": "system.resources.resourcemanager/4.0.1",
-      "hashPath": "system.resources.resourcemanager.4.0.1.nupkg.sha512"
-    },
-    "System.Runtime/4.1.0": {
-      "type": "package",
-      "serviceable": true,
-      "sha512": "sha512-v6c/4Yaa9uWsq+JMhnOFewrYkgdNHNG2eMKuNqRn8P733rNXeRCGvV5FkkjBXn2dbVkPXOsO0xjsEeM1q2zC0g==",
-      "path": "system.runtime/4.1.0",
-      "hashPath": "system.runtime.4.1.0.nupkg.sha512"
-    },
-    "System.Runtime.Extensions/4.1.0": {
-      "type": "package",
-      "serviceable": true,
-      "sha512": "sha512-CUOHjTT/vgP0qGW22U4/hDlOqXmcPq5YicBaXdUR2UiUoLwBT+olO6we4DVbq57jeX5uXH2uerVZhf0qGj+sVQ==",
-      "path": "system.runtime.extensions/4.1.0",
-      "hashPath": "system.runtime.extensions.4.1.0.nupkg.sha512"
-    },
-    "System.Runtime.Handles/4.0.1": {
-      "type": "package",
-      "serviceable": true,
-      "sha512": "sha512-nCJvEKguXEvk2ymk1gqj625vVnlK3/xdGzx0vOKicQkoquaTBJTP13AIYkocSUwHCLNBwUbXTqTWGDxBTWpt7g==",
-      "path": "system.runtime.handles/4.0.1",
-      "hashPath": "system.runtime.handles.4.0.1.nupkg.sha512"
-    },
-    "System.Runtime.InteropServices/4.1.0": {
-      "type": "package",
-      "serviceable": true,
-      "sha512": "sha512-16eu3kjHS633yYdkjwShDHZLRNMKVi/s0bY8ODiqJ2RfMhDMAwxZaUaWVnZ2P71kr/or+X9o/xFWtNqz8ivieQ==",
-      "path": "system.runtime.interopservices/4.1.0",
-      "hashPath": "system.runtime.interopservices.4.1.0.nupkg.sha512"
-    },
-    "System.Runtime.Numerics/4.0.1": {
-      "type": "package",
-      "serviceable": true,
-      "sha512": "sha512-+XbKFuzdmLP3d1o9pdHu2nxjNr2OEPqGzKeegPLCUMM71a0t50A/rOcIRmGs9wR7a8KuHX6hYs/7/TymIGLNqg==",
-      "path": "system.runtime.numerics/4.0.1",
-      "hashPath": "system.runtime.numerics.4.0.1.nupkg.sha512"
-    },
-    "System.Security.Cryptography.Algorithms/4.2.0": {
-      "type": "package",
-      "serviceable": true,
-      "sha512": "sha512-8JQFxbLVdrtIOKMDN38Fn0GWnqYZw/oMlwOUG/qz1jqChvyZlnUmu+0s7wLx7JYua/nAXoESpHA3iw11QFWhXg==",
-      "path": "system.security.cryptography.algorithms/4.2.0",
-      "hashPath": "system.security.cryptography.algorithms.4.2.0.nupkg.sha512"
-    },
-    "System.Security.Cryptography.Csp/4.0.0": {
-      "type": "package",
-      "serviceable": true,
-      "sha512": "sha512-/i1Usuo4PgAqgbPNC0NjbO3jPW//BoBlTpcWFD1EHVbidH21y4c1ap5bbEMSGAXjAShhMH4abi/K8fILrnu4BQ==",
-      "path": "system.security.cryptography.csp/4.0.0",
-      "hashPath": "system.security.cryptography.csp.4.0.0.nupkg.sha512"
-    },
-    "System.Security.Cryptography.Encoding/4.0.0": {
-      "type": "package",
-      "serviceable": true,
-      "sha512": "sha512-FbKgE5MbxSQMPcSVRgwM6bXN3GtyAh04NkV8E5zKCBE26X0vYW0UtTa2FIgkH33WVqBVxRgxljlVYumWtU+HcQ==",
-      "path": "system.security.cryptography.encoding/4.0.0",
-      "hashPath": "system.security.cryptography.encoding.4.0.0.nupkg.sha512"
-    },
-    "System.Security.Cryptography.Primitives/4.0.0": {
-      "type": "package",
-      "serviceable": true,
-      "sha512": "sha512-Wkd7QryWYjkQclX0bngpntW5HSlMzeJU24UaLJQ7YTfI8ydAVAaU2J+HXLLABOVJlKTVvAeL0Aj39VeTe7L+oA==",
-      "path": "system.security.cryptography.primitives/4.0.0",
-      "hashPath": "system.security.cryptography.primitives.4.0.0.nupkg.sha512"
-    },
-    "System.Text.Encoding/4.0.11": {
-      "type": "package",
-      "serviceable": true,
-      "sha512": "sha512-U3gGeMlDZXxCEiY4DwVLSacg+DFWCvoiX+JThA/rvw37Sqrku7sEFeVBBBMBnfB6FeZHsyDx85HlKL19x0HtZA==",
-      "path": "system.text.encoding/4.0.11",
-      "hashPath": "system.text.encoding.4.0.11.nupkg.sha512"
-    },
-    "System.Threading/4.0.11": {
-      "type": "package",
-      "serviceable": true,
-      "sha512": "sha512-N+3xqIcg3VDKyjwwCGaZ9HawG9aC6cSDI+s7ROma310GQo8vilFZa86hqKppwTHleR/G0sfOzhvgnUxWCR/DrQ==",
-      "path": "system.threading/4.0.11",
-      "hashPath": "system.threading.4.0.11.nupkg.sha512"
-    },
-    "System.Threading.Tasks/4.0.11": {
-      "type": "package",
-      "serviceable": true,
-      "sha512": "sha512-k1S4Gc6IGwtHGT8188RSeGaX86Qw/wnrgNLshJvsdNUOPP9etMmo8S07c+UlOAx4K/xLuN9ivA1bD0LVurtIxQ==",
-      "path": "system.threading.tasks/4.0.11",
-      "hashPath": "system.threading.tasks.4.0.11.nupkg.sha512"
-    }
-  }
-}
\ No newline at end of file
diff --git a/tools/bin/GenDummy/GenDummy.dll b/tools/bin/GenDummy/GenDummy.dll
deleted file mode 100644 (file)
index aeac52b..0000000
Binary files a/tools/bin/GenDummy/GenDummy.dll and /dev/null differ
diff --git a/tools/bin/GenDummy/GenDummy.pdb b/tools/bin/GenDummy/GenDummy.pdb
deleted file mode 100644 (file)
index 200dfbf..0000000
Binary files a/tools/bin/GenDummy/GenDummy.pdb and /dev/null differ
diff --git a/tools/bin/GenDummy/GenDummy.runtimeconfig.json b/tools/bin/GenDummy/GenDummy.runtimeconfig.json
deleted file mode 100644 (file)
index 7539019..0000000
+++ /dev/null
@@ -1,9 +0,0 @@
-{
-  "runtimeOptions": {
-    "tfm": "netcoreapp2.0",
-    "framework": {
-      "name": "Microsoft.NETCore.App",
-      "version": "2.0.0"
-    }
-  }
-}
\ No newline at end of file
diff --git a/tools/bin/GenDummy/Mono.Cecil.Mdb.dll b/tools/bin/GenDummy/Mono.Cecil.Mdb.dll
deleted file mode 100755 (executable)
index 4fcaa41..0000000
Binary files a/tools/bin/GenDummy/Mono.Cecil.Mdb.dll and /dev/null differ
diff --git a/tools/bin/GenDummy/Mono.Cecil.Pdb.dll b/tools/bin/GenDummy/Mono.Cecil.Pdb.dll
deleted file mode 100755 (executable)
index 9b68872..0000000
Binary files a/tools/bin/GenDummy/Mono.Cecil.Pdb.dll and /dev/null differ
diff --git a/tools/bin/GenDummy/Mono.Cecil.Rocks.dll b/tools/bin/GenDummy/Mono.Cecil.Rocks.dll
deleted file mode 100755 (executable)
index becd685..0000000
Binary files a/tools/bin/GenDummy/Mono.Cecil.Rocks.dll and /dev/null differ
diff --git a/tools/bin/GenDummy/Mono.Cecil.dll b/tools/bin/GenDummy/Mono.Cecil.dll
deleted file mode 100755 (executable)
index 58dddaa..0000000
Binary files a/tools/bin/GenDummy/Mono.Cecil.dll and /dev/null differ
index 46923e5..73b3f8e 100755 (executable)
@@ -9,17 +9,12 @@ BINARY_DIR=$SCRIPT_DIR/bin
 CONF=Release
 
 # Cleanup
-rm -fr $BINARY_DIR/*
+rm -fr $BINARY_DIR
 find $SOURCE_DIR -type d -name "bin" -prune -exec rm -r "{}" \;
 find $SOURCE_DIR -type d -name "obj" -prune -exec rm -r "{}" \;
 
 # Build and publish
-dotnet publish -c $CONF Tools.sln
-
-# Install
-APPS="GenDummy ABIChecker APITool"
-
-for x in $APPS; do
-  mkdir -p $BINARY_DIR/$x
-  cp -fr $SOURCE_DIR/$x/bin/$CONF/*/publish/* $BINARY_DIR/$x
-done
+for p in $(ls -1 src/**/*.csproj); do
+  fn=$(basename -- $p)
+  dotnet publish -c $CONF $p -o $BINARY_DIR/${fn%.*}
+done 
index 047b93b..c06a7cd 100644 (file)
@@ -7,7 +7,7 @@
   </PropertyGroup>
 
   <ItemGroup>
-    <PackageReference Include="CommandLineParser" Version="2.2.1" />
+    <PackageReference Include="CommandLineParser" Version="2.4.3" />
     <PackageReference Include="Microsoft.CodeAnalysis" Version="2.6.1" />
     <PackageReference Include="Microsoft.Extensions.DependencyModel" Version="2.0.4" />
     <PackageReference Include="System.Runtime.Loader" Version="4.3.0" />
diff --git a/tools/src/GenDummy/Converter.cs b/tools/src/GenDummy/Converter.cs
deleted file mode 100644 (file)
index 5c409e3..0000000
+++ /dev/null
@@ -1,197 +0,0 @@
-/*
- * Copyright (c) 2018 Samsung Electronics Co., Ltd All Rights Reserved
- *
- * Licensed under the Apache License, Version 2.0 (the License);
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an AS IS BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-using System;
-using System.Linq;
-using System.Reflection;
-using Mono.Cecil;
-using Mono.Cecil.Cil;
-
-namespace GenDummy
-{
-    public class Converter
-    {
-        private AssemblyDefinition _asm;
-
-        public Converter(string srcAssemblyPath)
-        {
-            _asm = AssemblyDefinition.ReadAssembly(srcAssemblyPath);
-        }
-
-        public void ConvertTo(string targetAssemblyPath)
-        {
-            VisitAssembly(_asm);
-            _asm.Write(targetAssemblyPath);
-        }
-
-        private void VisitAssembly(AssemblyDefinition assembly)
-        {
-            Log.Verbose("Assembly: " + assembly.FullName);
-
-            var attr = assembly.CustomAttributes.FirstOrDefault(a => a.AttributeType.FullName == "System.Runtime.CompilerServices.ReferenceAssemblyAttribute");
-            if (attr != null) {
-                assembly.CustomAttributes.Remove(attr);
-            }
-
-            foreach (var module in assembly.Modules)
-            {
-                VisitModule(module);
-            }
-        }
-
-        private void VisitModule(ModuleDefinition module)
-        {
-            Log.Verbose("Module: " + module.Name);
-            foreach (var type in module.Types)
-            {
-                VisitType(type);
-            }
-        }
-
-        private void VisitType(TypeDefinition type)
-        {
-            Log.Verbose("Type: " + type.FullName);
-
-            foreach (var prop in type.Properties)
-            {
-                VisitProperty(prop);
-            }
-
-            foreach (var method in type.Methods)
-            {
-                VisitMethod(method);
-            }
-
-            foreach (var ev in type.Events)
-            {
-                VisitEvent(ev);
-            }
-
-            foreach (var nested in type.NestedTypes)
-            {
-                VisitType(nested);
-            }
-        }
-
-        private void VisitProperty(PropertyDefinition prop)
-        {
-            Log.Verbose("  Property: " + prop.FullName);
-            if (prop.GetMethod != null)
-            {
-                Log.Verbose("    Getter:");
-                ReplaceWithThrowPNSE(prop.GetMethod);
-            }
-            if (prop.SetMethod != null)
-            {
-                Log.Verbose("    Setter:");
-                ReplaceWithThrowPNSE(prop.SetMethod);
-            }
-        }
-
-        private void VisitMethod(MethodDefinition method)
-        {
-            Log.Verbose($"  Method: {method.FullName}");
-            if (method.Name == "Finalize")
-            {
-                ReplaceWithVoidReturn(method);
-            }
-            else
-            {
-                ReplaceWithThrowPNSE(method);
-            }
-        }
-
-        private void VisitEvent(EventDefinition ev)
-        {
-            Log.Verbose("  Event: " + ev.FullName);
-            if (ev.AddMethod != null)
-            {
-                Log.Verbose("    Add:");
-                ReplaceWithThrowPNSE(ev.AddMethod);
-            }
-            if (ev.RemoveMethod != null)
-            {
-                Log.Verbose("    Remove:");
-                ReplaceWithThrowPNSE(ev.RemoveMethod);
-            }
-            foreach (var method in ev.OtherMethods)
-            {
-                Log.Verbose("    Other: " + method.FullName);
-                ReplaceWithThrowPNSE(method);
-            }
-        }
-
-        private bool ReplaceWithThrowPNSE(MethodDefinition method)
-        {
-            if (method.HasBody && method.IsIL)
-            {
-                ClearMethodBody(method);
-
-                ConstructorInfo exceptionCtor = typeof(PlatformNotSupportedException).GetConstructor(new Type[] { typeof(System.String) });
-                var exceptionCtorRef = method.Module.ImportReference(exceptionCtor);
-
-                var processor = method.Body.GetILProcessor();
-                processor.Append(processor.Create(OpCodes.Ldstr, "Not Supported Feature"));
-                processor.Append(processor.Create(OpCodes.Newobj, exceptionCtorRef));
-                processor.Append(processor.Create(OpCodes.Throw));
-
-                PrintMethodBody(method);
-
-                return true;
-            }
-            return false;
-        }
-
-        private bool ReplaceWithVoidReturn(MethodDefinition method)
-        {
-            if (method.HasBody && method.IsIL)
-            {
-                ClearMethodBody(method);
-
-                var processor = method.Body.GetILProcessor();
-                processor.Append(processor.Create(OpCodes.Nop));
-                processor.Append(processor.Create(OpCodes.Ret));
-
-                PrintMethodBody(method);
-
-                return true;
-            }
-            return false;
-        }
-
-        private void ClearMethodBody(MethodDefinition method)
-        {
-            var processor = method.Body.GetILProcessor();
-            while (method.Body.Instructions.Count > 0)
-            {
-                processor.Remove(method.Body.Instructions[0]);
-            }
-        }
-
-        private void PrintMethodBody(MethodDefinition method)
-        {
-            if (method.HasBody)
-            {
-                var iLProcessor = method.Body.GetILProcessor();
-                foreach (var inst in method.Body.Instructions)
-                {
-                    Log.Verbose($"      {inst.ToString()}");
-                }
-            }
-        }
-    }
-
-}
\ No newline at end of file
diff --git a/tools/src/GenDummy/GenDummy.csproj b/tools/src/GenDummy/GenDummy.csproj
deleted file mode 100644 (file)
index b8ebaff..0000000
+++ /dev/null
@@ -1,14 +0,0 @@
-<Project Sdk="Microsoft.NET.Sdk">
-
-  <PropertyGroup>
-    <OutputType>Exe</OutputType>
-    <TargetFramework>netcoreapp2.0</TargetFramework>
-    <Deterministic>True</Deterministic>
-  </PropertyGroup>
-
-  <ItemGroup>
-    <PackageReference Include="Mono.Cecil" Version="0.10.1" />
-    <PackageReference Include="CommandLineParser" Version="2.3.0" />
-  </ItemGroup>
-
-</Project>
diff --git a/tools/src/GenDummy/Log.cs b/tools/src/GenDummy/Log.cs
deleted file mode 100644 (file)
index 64fee37..0000000
+++ /dev/null
@@ -1,53 +0,0 @@
-/*
- * Copyright (c) 2018 Samsung Electronics Co., Ltd All Rights Reserved
- *
- * Licensed under the Apache License, Version 2.0 (the License);
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an AS IS BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-using System;
-
-namespace GenDummy
-{
-    public enum LogLevel
-    {
-        NONE = 0,
-        ERROR,
-        WARNING,
-        INFO,
-        DEBUG,
-        VERBOSE
-    }
-
-    public class Log
-    {
-        public static LogLevel Level { get; set; } = LogLevel.INFO;
-
-        public static void Error(string msg) => Print(LogLevel.ERROR, "[ERROR] " + msg);
-
-        public static void Warning(string msg) => Print(LogLevel.WARNING, "[WARNING] " + msg);
-
-        public static void Info(string msg) => Print(LogLevel.INFO, "[INFO] " + msg);
-
-        public static void Debug(string msg) => Print(LogLevel.DEBUG, "[DEBUG] " + msg);
-
-        public static void Verbose(string msg) => Print(LogLevel.VERBOSE, "[VERBOSE] " + msg);
-
-        private static void Print(LogLevel msgLevel, string msg)
-        {
-            if (Level >= msgLevel)
-            {
-                Console.WriteLine(msg);
-            }
-        }
-    }
-}
\ No newline at end of file
diff --git a/tools/src/GenDummy/Options.cs b/tools/src/GenDummy/Options.cs
deleted file mode 100644 (file)
index 3c635a7..0000000
+++ /dev/null
@@ -1,32 +0,0 @@
-/*
- * Copyright (c) 2018 Samsung Electronics Co., Ltd All Rights Reserved
- *
- * Licensed under the Apache License, Version 2.0 (the License);
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an AS IS BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-using CommandLine;
-
-namespace GenDummy
-{
-    class Options
-    {
-        [Option('v', "verbose", Default = false, HelpText = "Print verbose messages.")]
-        public bool Verbose { get; set; }
-
-        [Value(0, MetaName = "InputPath", Required = true, HelpText = "Input file or directory to process.")]
-        public string InputPath { get; set; }
-
-        [Value(1, MetaName = "OutputPath", HelpText = "Output path for generated files.")]
-        public string OutputPath { get; set; }
-    }
-}
diff --git a/tools/src/GenDummy/Program.cs b/tools/src/GenDummy/Program.cs
deleted file mode 100644 (file)
index 0241b9e..0000000
+++ /dev/null
@@ -1,92 +0,0 @@
-/*
- * Copyright (c) 2018 Samsung Electronics Co., Ltd All Rights Reserved
- *
- * Licensed under the Apache License, Version 2.0 (the License);
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an AS IS BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-using System;
-using System.IO;
-using System.Text.RegularExpressions;
-using CommandLine;
-
-namespace GenDummy
-{
-    class Program
-    {
-        public void Run(Options options)
-        {
-            if (options.Verbose)
-            {
-                Log.Level = LogLevel.VERBOSE;
-            }
-
-            // Convert to absolute path
-            if (!string.IsNullOrEmpty(options.InputPath))
-            {
-                options.InputPath = Path.GetFullPath(options.InputPath);
-            }
-            if (!string.IsNullOrEmpty(options.OutputPath))
-            {
-                options.OutputPath = Path.GetFullPath(options.OutputPath);
-            }
-
-            if (Directory.Exists(options.InputPath))
-            {
-                if (string.IsNullOrEmpty(options.OutputPath) || !Directory.Exists(options.OutputPath))
-                {
-                    throw new DirectoryNotFoundException("Directory should be set as the output path.");
-                }
-
-                if (!options.OutputPath.EndsWith(Path.DirectorySeparatorChar))
-                {
-                    options.OutputPath += Path.DirectorySeparatorChar;
-                }
-
-                DirectoryInfo inputDirInfo = new DirectoryInfo(options.InputPath);
-                FileInfo[] inputFiles = inputDirInfo.GetFiles("*.dll", SearchOption.AllDirectories);
-
-                Regex rgx = new Regex("^" + options.InputPath.Replace("\\", "\\\\").Replace("+", "\\+"));
-                foreach (var f in inputFiles)
-                {
-                    Log.Info($"Processing {f.FullName} ...");
-                    Converter conv = new Converter(f.FullName);
-                    conv.ConvertTo(rgx.Replace(f.FullName, options.OutputPath));
-                }
-            }
-            else
-            {
-                if (!File.Exists(options.InputPath))
-                {
-                    throw new FileNotFoundException("Couldn't find the input file : " + options.InputPath);
-                }
-                Converter conv = new Converter(options.InputPath);
-                conv.ConvertTo(options.OutputPath);
-            }
-        }
-
-        static void Main(string[] args)
-        {
-            try
-            {
-                Program program = new Program();
-                Parser.Default.ParseArguments<Options>(args).WithParsed(opts => program.Run(opts));
-            }
-            catch (Exception ex)
-            {
-                Log.Error(ex.Message);
-                Log.Error(ex.StackTrace);
-                Environment.Exit(1);
-            }
-        }
-    }
-}