代码拉取完成,页面将自动刷新
同步操作将从 kerryjiang/SuperSocket 强制同步,此操作会覆盖自 Fork 仓库以来所做的任何修改,且无法恢复!!!
确定后同步将在后台操作,完成时将刷新页面,请耐心等待。
<?xml version="1.0" ?>
<project name="SuperSocket" default="makeRelease" xmlns="http://nant.sf.net/schemas/nant.xsd">
<property name="build.dir" value="${project::get-base-directory()}" />
<property name="releaseVersion" overwrite="false" value=""></property>
<target name="zipSourceCode" description="zip the source code">
<zip zipfile="SuperSocket${releaseVersionTag}.Source.zip">
<fileset basedir=".">
<include name="**/*" />
<exclude name="**/bin/**" />
<exclude name="**/obj/**" />
<exclude name="**/.git/**" />
<exclude name="**/*.user" />
<exclude name="**/*.suo" />
<exclude name="**/.gitignore" />
<exclude name="*Push.bat" />
<exclude name="*SuperSocket.build" />
</fileset>
</zip>
</target>
<target name="cleanObjDir" description="clear the obj dir">
<delete>
<fileset>
<include name="**/obj/**"/>
</fileset>
</delete>
</target>
<target name="zipBinaries" description="zip the binary output">
<zip zipfile="SuperSocket${releaseVersionTag}.Binaries.zip">
<fileset basedir="bin">
<include name="**/*" />
</fileset>
</zip>
</target>
<target name="buildSln" description="build the solution">
<msbuild project="${solutionFile}" verbose="true">
<arg value="/t:Clean;Build" />
<arg value="/p:OutputPath=${build.dir}\bin\${netFxVersion}\${configuration}" />
</msbuild>
</target>
<target name="buildPrj" description="build the project">
<msbuild project="${solutionFile}" verbose="true">
<arg value="/t:Clean;Build" />
<arg value="/p:OutputPath=${build.dir}\bin\${netFxVersion}\${configuration}" />
</msbuild>
</target>
<target name="nugetPack" description="pack the nuget package">
<copy file="SuperSocket.nuspec" tofile="nuget\SuperSocket.nuspec" />
<property name="netFxVersion" value="net40" />
<call target="nugetPackVersion" />
<property name="netFxVersion" value="net45" />
<call target="nugetPackVersion" />
<copy file="Solution Items\log4net.config" tofile="nuget\content\log4net.config" />
<copy file="Solution Items\log4net.unix.config" tofile="nuget\content\log4net.unix.config" />
<copy file="SocketService\supersocket.cmd" tofile="nuget\content\supersocket.cmd" />
<copy file="SocketService\supersocket.sh" tofile="nuget\content\supersocket.sh" />
<loadfile file="nuget.key" property="nuget.key" />
<exec program="nuget" failonerror="true">
<arg line="SetApiKey ${nuget.key}" />
</exec>
<exec program="nuget" failonerror="true">
<arg line="Pack nuget\SuperSocket.nuspec" />
</exec>
<exec program="nuget" failonerror="true">
<arg line="Push SuperSocket.${releaseVersion}.nupkg" />
</exec>
</target>
<target name="nugetPackVersion" description="pack the nuget package">
<mkdir dir="nuget\lib\${netFxVersion}" />
<copy todir="nuget\lib\${netFxVersion}">
<fileset basedir="bin\${netFxVersion}\Release">
<include name="*.dll" />
<include name="*.xml" />
<include name="*.exe" />
</fileset>
</copy>
</target>
<target name="makeRelease" description="make the release package">
<property name="releaseVersionTag" value=""/>
<if test="${string::get-length(releaseVersion) > 0}">
<property name="releaseVersionTag" value="(${releaseVersion})"/>
</if>
<call target="zipSourceCode" />
<property name="netFxVersion" value="net40" />
<property name="configuration" value="Debug" />
<property name="solutionFile" value="SuperSocket.2010.sln" />
<call target="buildSln" />
<property name="solutionFile" value="Management\Server\SuperSocket.ServerManager.Net40.csproj" />
<call target="buildPrj" />
<call target="cleanObjDir" />
<property name="netFxVersion" value="net40" />
<property name="configuration" value="Release" />
<property name="solutionFile" value="SuperSocket.2010.sln" />
<call target="buildSln" />
<property name="solutionFile" value="Management\Server\SuperSocket.ServerManager.Net40.csproj" />
<call target="buildPrj" />
<call target="cleanObjDir" />
<property name="netFxVersion" value="net45" />
<property name="configuration" value="Debug" />
<property name="solutionFile" value="SuperSocket.2012.sln" />
<call target="buildSln" />
<property name="solutionFile" value="Management\Server\SuperSocket.ServerManager.Net45.csproj" />
<call target="buildPrj" />
<call target="cleanObjDir" />
<property name="netFxVersion" value="net45" />
<property name="configuration" value="Release" />
<property name="solutionFile" value="SuperSocket.2012.sln" />
<call target="buildSln" />
<property name="solutionFile" value="Management\Server\SuperSocket.ServerManager.Net45.csproj" />
<call target="buildPrj" />
<call target="cleanObjDir" />
<call target="zipBinaries" />
<call target="nugetPack" />
</target>
</project>
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。