diff options
author | Jeroen Walter <jeroen@enormkansloos.nl> | 2013-11-23 15:56:34 +0100 |
---|---|---|
committer | Jeroen Walter <jeroen@enormkansloos.nl> | 2013-11-23 15:56:34 +0100 |
commit | 09e1bf5b8e8362ac82b910152b898cd3affba376 (patch) | |
tree | c9310734f6a91d1ff1f885fffceb02cb7ebdac0c /ComicRackWebViewer | |
parent | aac7e0dec8d0efe8cc2d999cc5edae247b40ff7d (diff) | |
parent | 2cc914c4ea91ec7dbb5c43b1be0930eead8173f0 (diff) | |
download | ComicRackWeb-origin/linq2db.zip ComicRackWeb-origin/linq2db.tar.gz ComicRackWeb-origin/linq2db.tar.bz2 |
Merge branch 'master' of github.com:jeroenwalter/ComicRackWeborigin/linq2db
Conflicts:
ComicRackWebViewer/ComicRackWebViewer.csproj
Diffstat (limited to 'ComicRackWebViewer')
-rw-r--r-- | ComicRackWebViewer/ComicRackWebViewer.csproj | 5 | ||||
-rw-r--r-- | ComicRackWebViewer/postbuild.bat | 13 |
2 files changed, 17 insertions, 1 deletions
diff --git a/ComicRackWebViewer/ComicRackWebViewer.csproj b/ComicRackWebViewer/ComicRackWebViewer.csproj index 30b8387..aa5e7e7 100644 --- a/ComicRackWebViewer/ComicRackWebViewer.csproj +++ b/ComicRackWebViewer/ComicRackWebViewer.csproj @@ -1577,7 +1577,10 @@ <Service Include="{508349B6-6B84-4DF5-91F0-309BEEBAD82D}" />
</ItemGroup>
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
- <Import Project="$(SolutionDir)\.nuget\nuget.targets" />
+ <PropertyGroup>
+ <PostBuildEvent>$(ProjectDir)postbuild.bat "$(ProjectDir)" "$(TargetDir)"
+</PostBuildEvent>
+ </PropertyGroup>
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
Other similar extension points exist, see Microsoft.Common.targets.
<Target Name="BeforeBuild">
diff --git a/ComicRackWebViewer/postbuild.bat b/ComicRackWebViewer/postbuild.bat new file mode 100644 index 0000000..836a9d5 --- /dev/null +++ b/ComicRackWebViewer/postbuild.bat @@ -0,0 +1,13 @@ +xcopy "%~1FreeImage\FreeImage.32bit.dll" "%~2" /y +xcopy "%~1FreeImage\FreeImage.64bit.dll" "%~2" /y +xcopy "%~1SQLite\SQLite.Interop.32bit.dll" "%~2" /y +xcopy "%~1SQLite\SQLite.Interop.64bit.dll" "%~2" /y + +IF NOT EXIST "%~2\tablet\index.html" GOTO copy_tablet + +exit /b 0 + +:copy_tablet +rem md "%~2\tablet" +rem xcopy "%~1tablet\*.*" "%~2\tablet" /y /E +mklink /D /J "%~2\tablet" "%~1tablet"
\ No newline at end of file |