File: distribute-win32.bat

package info (click to toggle)
burgerspace 1.9.2-3
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 2,524 kB
  • sloc: sh: 10,939; cpp: 5,791; makefile: 240
file content (29 lines) | stat: -rw-r--r-- 635 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
@echo off
REM  Script that creates a distributable binary .zip archive.
REM  Must be run after install-win32.bat.
REM  Must be run from the parent of the 'src' directory.
REM  Requires Cygwin's zip command to be in the path.

@echo on
cd Release

set d=burgerspace-win32-1.9.0
mkdir %d%
copy ..\COPYING %d%
copy ..\README %d%
copy *.exe %d%
copy *.dll %d%
copy *.wav %d%

del ..\%d%.zip
zip ../%d%.zip %d%/*.*

cd ..
@echo off

echo ======================================================
if exist %d%.zip (
        echo %d%.zip is ready for distribution.
) else (
        echo FAILURE: %d%.zip not found
)