mirror of
https://github.com/OrchardCMS/Orchard.git
synced 2025-04-05 21:01:35 +08:00
Addind NuGet package creation to the build process
--HG-- branch : dev
This commit is contained in:
parent
09bc31ca03
commit
7b91feebcc
36
Orchard.proj
36
Orchard.proj
@ -12,6 +12,7 @@
|
|||||||
<SqlCeFolder>$(MSBuildProjectDirectory)\lib\sqlce</SqlCeFolder>
|
<SqlCeFolder>$(MSBuildProjectDirectory)\lib\sqlce</SqlCeFolder>
|
||||||
<SourceArtifactFolder>$(ArtifactsFolder)\Source</SourceArtifactFolder>
|
<SourceArtifactFolder>$(ArtifactsFolder)\Source</SourceArtifactFolder>
|
||||||
<MsDeployArtifactFolder>$(ArtifactsFolder)\MsDeploy</MsDeployArtifactFolder>
|
<MsDeployArtifactFolder>$(ArtifactsFolder)\MsDeploy</MsDeployArtifactFolder>
|
||||||
|
<GalleryArtifactFolder>$(ArtifactsFolder)\Gallery</GalleryArtifactFolder>
|
||||||
<ModulesSrcFolder>$(MSBuildProjectDirectory)\src\Orchard.Web\Modules</ModulesSrcFolder>
|
<ModulesSrcFolder>$(MSBuildProjectDirectory)\src\Orchard.Web\Modules</ModulesSrcFolder>
|
||||||
<ThemesSrcFolder>$(MSBuildProjectDirectory)\src\Orchard.Web\Themes</ThemesSrcFolder>
|
<ThemesSrcFolder>$(MSBuildProjectDirectory)\src\Orchard.Web\Themes</ThemesSrcFolder>
|
||||||
|
|
||||||
@ -20,6 +21,7 @@
|
|||||||
<StageFolder>$(BuildFolder)\Stage</StageFolder>
|
<StageFolder>$(BuildFolder)\Stage</StageFolder>
|
||||||
<MsDeployFolder>$(BuildFolder)\MsDeploy</MsDeployFolder>
|
<MsDeployFolder>$(BuildFolder)\MsDeploy</MsDeployFolder>
|
||||||
<ProfilingFolder>$(BuildFolder)\Profiling</ProfilingFolder>
|
<ProfilingFolder>$(BuildFolder)\Profiling</ProfilingFolder>
|
||||||
|
<GalleryFolder>$(BuildFolder)\Gallery</GalleryFolder>
|
||||||
|
|
||||||
<BuildPlatform Condition="$(ProgramW6432) != ''">x64</BuildPlatform>
|
<BuildPlatform Condition="$(ProgramW6432) != ''">x64</BuildPlatform>
|
||||||
<BuildPlatform Condition="$(BuildPlatform) == ''">x86</BuildPlatform>
|
<BuildPlatform Condition="$(BuildPlatform) == ''">x86</BuildPlatform>
|
||||||
@ -54,6 +56,14 @@
|
|||||||
</Target>
|
</Target>
|
||||||
|
|
||||||
|
|
||||||
|
<Target Name="Gallery">
|
||||||
|
<CallTarget Targets="Clean"/>
|
||||||
|
<CallTarget Targets="Compile"/>
|
||||||
|
<CallTarget Targets="Package-Stage"/>
|
||||||
|
<CallTarget Targets="Gallery-Stage"/>
|
||||||
|
<CallTarget Targets="Gallery-Setup"/>
|
||||||
|
</Target>
|
||||||
|
|
||||||
<!-- Building -->
|
<!-- Building -->
|
||||||
|
|
||||||
<Target Name="Clean">
|
<Target Name="Clean">
|
||||||
@ -285,7 +295,33 @@
|
|||||||
<Exec Command="$(ProfilingFolder)\bin\Orchard.exe @$(SrcFolder)\Orchard.Profile\profiling-setup-commands.txt" WorkingDirectory="$(ProfilingFolder)"/>
|
<Exec Command="$(ProfilingFolder)\bin\Orchard.exe @$(SrcFolder)\Orchard.Profile\profiling-setup-commands.txt" WorkingDirectory="$(ProfilingFolder)"/>
|
||||||
</Target>
|
</Target>
|
||||||
|
|
||||||
|
<!-- Gallery Packaging -->
|
||||||
|
|
||||||
|
<Target Name="Gallery-Stage">
|
||||||
|
<ItemGroup>
|
||||||
|
<Gallery-Web Include="$(StageFolder)\**\*" />
|
||||||
|
</ItemGroup>
|
||||||
|
|
||||||
|
<Copy SourceFiles="@(Gallery-Web)" DestinationFolder="$(GalleryFolder)\%(RecursiveDir)"/>
|
||||||
|
|
||||||
|
</Target>
|
||||||
|
|
||||||
|
<Target Name="Gallery-Setup">
|
||||||
|
<Exec Command=""$(GalleryFolder)\bin\Orchard.exe" setup /SiteName:Gallery /AdminUsername:admin /AdminPassword:gallery-secret /DatabaseProvider:SqlCe" WorkingDirectory="$(GalleryFolder)"/>
|
||||||
|
<Exec Command=""$(GalleryFolder)\bin\Orchard.exe" feature enable Orchard.Packaging "$(GalleryArtifactFolder)"" WorkingDirectory="$(GalleryFolder)"/>
|
||||||
|
<Exec Command=""$(GalleryFolder)\bin\Orchard.exe" package create Orchard.Localization "$(GalleryArtifactFolder)"" WorkingDirectory="$(GalleryFolder)"/>
|
||||||
|
<Exec Command=""$(GalleryFolder)\bin\Orchard.exe" package create Orchard.Messaging "$(GalleryArtifactFolder)"" WorkingDirectory="$(GalleryFolder)"/>
|
||||||
|
<Exec Command=""$(GalleryFolder)\bin\Orchard.exe" package create Lucene "$(GalleryArtifactFolder)"" WorkingDirectory="$(GalleryFolder)"/>
|
||||||
|
<Exec Command=""$(GalleryFolder)\bin\Orchard.exe" package create Orchard.ArchiveLater "$(GalleryArtifactFolder)"" WorkingDirectory="$(GalleryFolder)"/>
|
||||||
|
<Exec Command=""$(GalleryFolder)\bin\Orchard.exe" package create Orchard.CodeGeneration "$(GalleryArtifactFolder)"" WorkingDirectory="$(GalleryFolder)"/>
|
||||||
|
<Exec Command=""$(GalleryFolder)\bin\Orchard.exe" package create Orchard.Email "$(GalleryArtifactFolder)"" WorkingDirectory="$(GalleryFolder)"/>
|
||||||
|
<Exec Command=""$(GalleryFolder)\bin\Orchard.exe" package create Orchard.Experimental "$(GalleryArtifactFolder)"" WorkingDirectory="$(GalleryFolder)"/>
|
||||||
|
<Exec Command=""$(GalleryFolder)\bin\Orchard.exe" package create Orchard.Indexing "$(GalleryArtifactFolder)"" WorkingDirectory="$(GalleryFolder)"/>
|
||||||
|
<Exec Command=""$(GalleryFolder)\bin\Orchard.exe" package create Orchard.Migrations "$(GalleryArtifactFolder)"" WorkingDirectory="$(GalleryFolder)"/>
|
||||||
|
<Exec Command=""$(GalleryFolder)\bin\Orchard.exe" package create Orchard.MultiTenancy "$(GalleryArtifactFolder)"" WorkingDirectory="$(GalleryFolder)"/>
|
||||||
|
<Exec Command=""$(GalleryFolder)\bin\Orchard.exe" package create Orchard.Search "$(GalleryArtifactFolder)"" WorkingDirectory="$(GalleryFolder)"/>
|
||||||
|
</Target>
|
||||||
|
|
||||||
<!-- Version -->
|
<!-- Version -->
|
||||||
<!-- Update all AssemblyInfo.cs and module.txt files to contain $(Version) -->
|
<!-- Update all AssemblyInfo.cs and module.txt files to contain $(Version) -->
|
||||||
<Target Name="SetVersion" Condition="$(Version) != ''">
|
<Target Name="SetVersion" Condition="$(Version) != ''">
|
||||||
|
@ -4,7 +4,7 @@ Author: The Orchard Team
|
|||||||
Website: http://orchardproject.net
|
Website: http://orchardproject.net
|
||||||
Version: 0.8.0
|
Version: 0.8.0
|
||||||
OrchardVersion: 0.8.0
|
OrchardVersion: 0.8.0
|
||||||
Description:
|
Description: Tools to create Orchard components.
|
||||||
Features:
|
Features:
|
||||||
Orchard.CodeGeneration:
|
Orchard.CodeGeneration:
|
||||||
Description: Tools to create Orchard components.
|
Description: Tools to create Orchard components.
|
||||||
|
@ -4,7 +4,7 @@ Author: The Orchard Team
|
|||||||
Website: http://orchardproject.net
|
Website: http://orchardproject.net
|
||||||
Version: 0.8.0
|
Version: 0.8.0
|
||||||
OrchardVersion: 0.8.0
|
OrchardVersion: 0.8.0
|
||||||
Description:
|
Description: An assortment of debugging tools.
|
||||||
Features:
|
Features:
|
||||||
Orchard.Experimental:
|
Orchard.Experimental:
|
||||||
Description: An assortment of debugging tools.
|
Description: An assortment of debugging tools.
|
||||||
|
@ -4,7 +4,7 @@ Author: The Orchard Team
|
|||||||
Website: http://orchardproject.net
|
Website: http://orchardproject.net
|
||||||
Version: 0.8.0
|
Version: 0.8.0
|
||||||
OrchardVersion: 0.8.0
|
OrchardVersion: 0.8.0
|
||||||
Description:
|
Description: Data migration commands.
|
||||||
Features:
|
Features:
|
||||||
Orchard.Migrations:
|
Orchard.Migrations:
|
||||||
Description: Data migration commands.
|
Description: Data migration commands.
|
||||||
|
Loading…
Reference in New Issue
Block a user