Skip to content

Commit

Permalink
sakura-editor#166: 警告のドキュメントが埋もれてしまうのでサブフォルダにわける
Browse files Browse the repository at this point in the history
  • Loading branch information
m-tmatma authored and berryzplus committed Jul 5, 2018
1 parent c4df7d1 commit 737f47a
Showing 1 changed file with 11 additions and 7 deletions.
18 changes: 11 additions & 7 deletions zipArtifacts.bat
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
set platform=%1
set configuration=%2
set WORKDIR=sakura-%platform%-%configuration%
set WORKDIR_EXE=%WORKDIR%\EXE
set WORKDIR_INST=%WORKDIR%\Installer
set OUTFILE=sakura-%platform%-%configuration%.zip

@rem cleanup for local testing
Expand All @@ -12,16 +14,18 @@ if exist "%WORKDIR%" (
)

mkdir %WORKDIR%
copy %platform%\%configuration%\*.exe %WORKDIR%\
copy %platform%\%configuration%\*.dll %WORKDIR%\
copy %platform%\%configuration%\*.pdb %WORKDIR%\
mkdir %WORKDIR_EXE%
mkdir %WORKDIR_INST%
copy %platform%\%configuration%\*.exe %WORKDIR_EXE%\
copy %platform%\%configuration%\*.dll %WORKDIR_EXE%\
copy %platform%\%configuration%\*.pdb %WORKDIR_EXE%\

copy help\macro\macro.chm %WORKDIR%\
copy help\plugin\plugin.chm %WORKDIR%\
copy help\sakura\sakura.chm %WORKDIR%\
copy help\macro\macro.chm %WORKDIR_EXE%\
copy help\plugin\plugin.chm %WORKDIR_EXE%\
copy help\sakura\sakura.chm %WORKDIR_EXE%\

copy installer\warning.txt %WORKDIR%\
copy installer\Output\*.exe %WORKDIR%\
copy installer\Output\*.exe %WORKDIR_INST%\

7z a %OUTFILE% -r %WORKDIR%
7z l %OUTFILE%
Expand Down

0 comments on commit 737f47a

Please sign in to comment.