Skip to content

Commit

Permalink
dist: Remove working directory before creating packages
Browse files Browse the repository at this point in the history
  • Loading branch information
k-takata committed Aug 29, 2016
1 parent 8068df2 commit f2c4535
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion pack.bat
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,8 @@ set execfiles=tcdll.tclock tclock.exe tcplayer.exe tcprop.exe tcsntp.exe tctimer
set pkgfiles=readme-kt.txt config-kt.txt format-kt.txt readme.html
set srcfiles=source source_all\Makefile source_all\config.h source_custom\Makefile source_custom\config.h pack.bat make_all.bat prepare_custom.bat

if not exist pkg mkdir pkg
if exist pkg rd /s /q pkg
mkdir pkg

rem 7-zip32 a -mx=9 -m0=PPMd source.7z %srcfiles% -xr!out -xr!out64 -xr!work -xr!work64 -xr!*.bak -xr!*.old -xr!*.sw? -xr!*~ -xr!*.aps -xr!tags
7-zip32 a -m0=PPMd:o=31:mem=25 source.7z %srcfiles% -xr!out -xr!out64 -xr!work -xr!work64 -xr!*.bak -xr!*.old -xr!*.sw? -xr!*~ -xr!*.aps -xr!tags
Expand Down

0 comments on commit f2c4535

Please sign in to comment.