You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

16 lines
912 B

2 years ago
  1. :: Generated by: https://github.com/openapitools/openapi-generator.git
  2. ::
  3. @echo off
  4. SET CSCPATH=%SYSTEMROOT%\Microsoft.NET\Framework\v4.0.30319
  5. if not exist ".\nuget.exe" powershell -Command "(new-object System.Net.WebClient).DownloadFile('https://dist.nuget.org/win-x86-commandline/latest/nuget.exe', '.\nuget.exe')"
  6. .\nuget.exe install src\Org.OpenAPITools\packages.config -o packages
  7. if not exist ".\bin" mkdir bin
  8. copy packages\Newtonsoft.Json.12.0.3\lib\net45\Newtonsoft.Json.dll bin\Newtonsoft.Json.dll
  9. copy packages\JsonSubTypes.1.6.0\lib\net45\JsonSubTypes.dll bin\JsonSubTypes.dll
  10. copy packages\RestSharp.105.1.0\lib\net45\RestSharp.dll bin\RestSharp.dll
  11. %CSCPATH%\csc /reference:bin\Newtonsoft.Json.dll;bin\JsonSubTypes.dll;bin\RestSharp.dll;System.ComponentModel.DataAnnotations.dll /target:library /out:bin\Org.OpenAPITools.dll /recurse:src\Org.OpenAPITools\*.cs /doc:bin\Org.OpenAPITools.xml