aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/libraries/ode-0.9/tools/msw-release.bat
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--libraries/ode-0.9/tools/msw-release.bat125
1 files changed, 0 insertions, 125 deletions
diff --git a/libraries/ode-0.9/tools/msw-release.bat b/libraries/ode-0.9/tools/msw-release.bat
deleted file mode 100644
index 039d4a9..0000000
--- a/libraries/ode-0.9/tools/msw-release.bat
+++ /dev/null
@@ -1,125 +0,0 @@
1@echo off
2rem ***********************************************************
3rem * ODE Windows Binary Release Script
4rem * Originally written by Jason Perkins (starkos@gmail.com)
5rem *
6rem * Prerequisites:
7rem * Command-line svn installed on path
8rem * Command-line zip installed on path
9rem * Run within Visual Studio 2003 command prompt
10rem ***********************************************************
11
12rem * Check arguments
13if "%1"=="" goto show_usage
14if "%2"=="" goto show_usage
15
16
17rem ***********************************************************
18rem * Pre-build checklist
19rem ***********************************************************
20
21echo.
22echo STARTING PREBUILD CHECKLIST, PRESS ^^C TO ABORT.
23echo.
24echo Are you running at the VS2003 command prompt?
25pause
26echo.
27echo Is the version number "%1" correct?
28pause
29echo.
30echo Does the release branch "%2" exist in SVN?
31pause
32echo.
33echo Are 'svn', '7z', and 'doxygen' on the path?
34pause
35echo.
36echo Okay, ready to build the Windows binary packages for version %1!
37pause
38
39
40rem ***********************************************************
41rem * Retrieve source code
42rem ***********************************************************
43
44echo.
45echo RETRIEVING SOURCE CODE FROM REPOSITORY...
46echo.
47
48svn export https://opende.svn.sourceforge.net/svnroot/opende/branches/%2 ode-%1
49
50
51
52rem ***********************************************************
53rem * Prepare source code
54rem ***********************************************************
55
56echo.
57echo PREPARING SOURCE CODE FROM REPOSITORY...
58echo.
59
60cd ode-%1
61copy build\config-default.h include\ode\config.h
62
63cd ode\doc
64doxygen
65
66cd ..\..\..
67
68
69rem ***********************************************************
70rem * Build the binaries
71rem ***********************************************************
72
73echo.
74echo BUILDING RELEASE BINARIES...
75echo.
76
77cd ode-%1\build\vs2003
78devenv.exe ode.sln /build DebugLib /project ode
79devenv.exe ode.sln /build DebugDLL /project ode
80devenv.exe ode.sln /build ReleaseLib /project ode
81devenv.exe ode.sln /build ReleaseDLL /project ode
82
83
84rem ***********************************************************
85rem * Package things up
86rem ***********************************************************
87
88cd ..\..
89move lib\ReleaseDLL\ode.lib lib\ReleaseDLL\ode-imports.lib
90
91cd ..
927z a -tzip ode-win32-%1.zip ode-%1\*.txt ode-%1\include\ode\*.h ode-%1\lib\* ode-%1\docs\*
93
94
95rem ***********************************************************
96rem * Clean up
97rem ***********************************************************
98
99echo.
100echo CLEANING UP...
101echo.
102
103rmdir /s /q ode-%1
104
105
106rem ***********************************************************
107rem * Upload to SF.net
108rem ***********************************************************
109
110echo.
111echo Ready to upload package to SourceForce, press ^^C to abort.
112pause
113ftp -s:ftp_msw_script upload.sourceforge.net
114goto done
115
116
117rem ***********************************************************
118rem * Error messages
119rem ***********************************************************
120
121:show_usage
122echo Usage: msw_release.bat version_number branch_name
123goto done
124
125:done