Skip to content

Commit

Permalink
add publish script.
Browse files Browse the repository at this point in the history
  • Loading branch information
sorayuki committed Aug 15, 2018
1 parent e5b4303 commit 9feab56
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 0 deletions.
Binary file added 7zr.exe
Binary file not shown.
26 changes: 26 additions & 0 deletions publish.bat
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
if "%VS120COMNTOOLS%"=="" goto end

call "%VS120COMNTOOLS%vsdevcmd.bat"
cd /d "%~dp0"

echo y | rd /s tmp

msbuild /p:PlatformToolset=v120 /m /p:"Configuration=Release (MOD)" /p:Platform=Win32
if errorlevel 1 goto end

msbuild /p:PlatformToolset=v120 /m /p:"Configuration=Release (MOD)" /p:Platform=x64
if errorlevel 1 goto end

mkdir tmp
mkdir tmp\x86
mkdir tmp\x64
copy "bin\Win32\VSFilter\Release (MOD)\VSFilterMod.dll" "tmp\x86\VSFilterMod.dll"
copy "bin\x64\VSFilter\Release (MOD)\VSFilterMod.dll" "tmp\x64\VSFilterMod.dll"

del VSFilterMod_bin.7z

cd tmp
..\7zr.exe a -r -mx=9 -myx=9 ..\VSFilterMod_bin.7z .
cd ..

end:

0 comments on commit 9feab56

Please sign in to comment.