These files are used for the support of the installation process Gallery Server http://galleryserver.codeplex.com.
Created
April 18, 2013 09:50
-
-
Save tonidy/5411533 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| @echo off | |
| cls | |
| :: Build the Plugins Project | |
| cd /d Plugins | |
| call build.bat ReleaseBuild | |
| set buildErrorLevel=%errorlevel% | |
| cd /d .. | |
| if %buildErrorLevel% neq 0 (goto end) | |
| :: Copy Plugin Files to Gallery Server Project | |
| echo Copying Plugin DLLs to Gallery Server | |
| set destinationDirectory="GalleryServer\src\Gallery.Server\bin\" | |
| if not exist %destinationDirectory% md %destinationDirectory% | |
| copy "Plugins\src\NuPackPackageFactory\bin\Debug\NuGet.Core.dll" %destinationDirectory% | |
| copy "Plugins\src\NuPackPackageFactory\bin\Debug\NuPackPackageFactory.dll" %destinationDirectory% | |
| :: Remove config files if flag given and they exist. | |
| if "%1" neq "--delete-configs" (goto buildGalleryServer) | |
| echo Deleting config files. | |
| set appSettingsFile="GalleryServer\src\Gallery.Server\AppSettings.config" | |
| set connectionStringsFile="GalleryServer\src\Gallery.Server\ConnectionStrings.config" | |
| if exist %appSettingsFile% (del %appSettingsFile%) | |
| if exist %connectionStringsFile% (del %connectionStringsFile%) | |
| :: Build the Gallery Server Project | |
| :buildGalleryServer | |
| cd /d GalleryServer | |
| call build.bat ReleaseBuild /p:DeployOnBuild=true;DeployTarget=Package;_PackageTempDir=..\..\..\publish | |
| set buildErrorLevel=%errorlevel% | |
| cd /d .. | |
| if %buildErrorLevel% neq 0 (goto end) | |
| :: Successful build | |
| set buildErrorLevel=0 | |
| :end | |
| pause | |
| exit %buildErrorLevel% |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <!DOCTYPE HTML> | |
| <html lang="en-US"> | |
| <head> | |
| <meta charset="UTF-8"> | |
| <meta http-equiv="refresh" content="0;url=http://localhost/GalleryServer/FeedService.svc"> | |
| <script type="text/javascript"> | |
| window.location.href = "http://localhost/GalleryServer/FeedService.svc" | |
| </script> | |
| <title>Page Redirection</title> | |
| </head> | |
| <body> | |
| <!--Redirect in HTML page, modified from http://stackoverflow.com/a/5411601--> | |
| If you are not redirected automatically, follow the <a href="http://localhost/GalleryServer/FeedService.svc">link</a>. | |
| </body> | |
| </html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment