Commits

Johannes Rudolph  committed c76e677

fix up deployment scripts... will need to reconsider this anyway.

  • Participants
  • Parent commits e7dee8f

Comments (0)

Files changed (1)

File SubSpec.msbuild

   
     <Target Name="Packages" DependsOnTargets="Build">
 		<!-- SubSpec.nuspec -->
-        <MakeDir Directories='build\packaging\lib'/>
+        <ItemGroup>
+            <DeployableFiles Include="LICENSE.txt"/>
+            <DeployableFiles Include="src\*.*"/>
+        </ItemGroup>
+		
+		<MakeDir Directories='build\packaging\lib'/>
         <Copy
-            SourceFiles='src\SubSpec\bin\$(Configuration)\SubSpec.dll;src\SubSpec\bin\$(Configuration)\SubSpec.xml'
+            SourceFiles="@(DeployableFiles)"
             DestinationFolder='build\packaging\lib'/>
         <Exec Command='tools\NuGet.exe pack SubSpec.nuspec -BasePath build\packaging -OutputDirectory build' />
         <RemoveDir Directories='build\packaging'/>
     <Target Name="Zip" DependsOnTargets="Build">
         <ItemGroup>
             <ZipFileList Include="LICENSE.txt"/>
-            <ZipFileList Include="src\SubSpec\bin\$(Configuration)\SubSpec.dll"/>
-            <ZipFileList Include="src\SubSpec\bin\$(Configuration)\SubSpec.xml"/>
-            <ZipFileList Include="src\SubSpec\bin\$(Configuration)\SubSpec.pdb"/>
+            <ZipFileList Include="src\*.*"/>
         </ItemGroup>
         <Delete Files="build\SubSpec-build-$(BuildNumber).zip"/>
         <Zip