diff options
Diffstat (limited to 'libraries/ode-0.9/tools')
-rw-r--r-- | libraries/ode-0.9/tools/checklist.txt | 25 | ||||
-rw-r--r-- | libraries/ode-0.9/tools/ftp_msw_script | 8 | ||||
-rw-r--r-- | libraries/ode-0.9/tools/ftp_src_script | 7 | ||||
-rw-r--r-- | libraries/ode-0.9/tools/msw-release.bat | 125 | ||||
-rw-r--r-- | libraries/ode-0.9/tools/src-release.sh | 104 |
5 files changed, 0 insertions, 269 deletions
diff --git a/libraries/ode-0.9/tools/checklist.txt b/libraries/ode-0.9/tools/checklist.txt deleted file mode 100644 index 7aa5c11..0000000 --- a/libraries/ode-0.9/tools/checklist.txt +++ /dev/null | |||
@@ -1,25 +0,0 @@ | |||
1 | RELEASE CHECKLIST | ||
2 | --------------------------------------------- | ||
3 | |||
4 | ( ) Update versions at start of configure.in (AC_INIT, ODE_CURRENT, etc.) | ||
5 | |||
6 | ( ) Create a release branch in SVN | ||
7 | |||
8 | ( ) Run msw-release.bat in VS2003 command prompt | ||
9 | |||
10 | ( ) Run src-release.sh to create source package | ||
11 | (Must run in Linux or Cygwin w/autotools) | ||
12 | |||
13 | |||
14 | |||
15 | SANITY CHECK of release package | ||
16 | --------------------------------------------- | ||
17 | |||
18 | * binaries exist | ||
19 | |||
20 | * include/ode/config.h exists | ||
21 | |||
22 | * configure script exists - if not: is autotools installed? | ||
23 | |||
24 | * docs have been generated in docs/ | ||
25 | |||
diff --git a/libraries/ode-0.9/tools/ftp_msw_script b/libraries/ode-0.9/tools/ftp_msw_script deleted file mode 100644 index ee99232..0000000 --- a/libraries/ode-0.9/tools/ftp_msw_script +++ /dev/null | |||
@@ -1,8 +0,0 @@ | |||
1 | anonymous | ||
2 | jason379@users.sourceforge.net | ||
3 | cd incoming | ||
4 | bin | ||
5 | prompt | ||
6 | mput ode-win32-*.zip | ||
7 | quit | ||
8 | |||
diff --git a/libraries/ode-0.9/tools/ftp_src_script b/libraries/ode-0.9/tools/ftp_src_script deleted file mode 100644 index 75f3af9..0000000 --- a/libraries/ode-0.9/tools/ftp_src_script +++ /dev/null | |||
@@ -1,7 +0,0 @@ | |||
1 | user anonymous starkos | ||
2 | cd incoming | ||
3 | bin | ||
4 | prompt | ||
5 | mput ode-src-*.zip | ||
6 | quit | ||
7 | |||
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 | ||
2 | rem *********************************************************** | ||
3 | rem * ODE Windows Binary Release Script | ||
4 | rem * Originally written by Jason Perkins (starkos@gmail.com) | ||
5 | rem * | ||
6 | rem * Prerequisites: | ||
7 | rem * Command-line svn installed on path | ||
8 | rem * Command-line zip installed on path | ||
9 | rem * Run within Visual Studio 2003 command prompt | ||
10 | rem *********************************************************** | ||
11 | |||
12 | rem * Check arguments | ||
13 | if "%1"=="" goto show_usage | ||
14 | if "%2"=="" goto show_usage | ||
15 | |||
16 | |||
17 | rem *********************************************************** | ||
18 | rem * Pre-build checklist | ||
19 | rem *********************************************************** | ||
20 | |||
21 | echo. | ||
22 | echo STARTING PREBUILD CHECKLIST, PRESS ^^C TO ABORT. | ||
23 | echo. | ||
24 | echo Are you running at the VS2003 command prompt? | ||
25 | pause | ||
26 | echo. | ||
27 | echo Is the version number "%1" correct? | ||
28 | pause | ||
29 | echo. | ||
30 | echo Does the release branch "%2" exist in SVN? | ||
31 | pause | ||
32 | echo. | ||
33 | echo Are 'svn', '7z', and 'doxygen' on the path? | ||
34 | pause | ||
35 | echo. | ||
36 | echo Okay, ready to build the Windows binary packages for version %1! | ||
37 | pause | ||
38 | |||
39 | |||
40 | rem *********************************************************** | ||
41 | rem * Retrieve source code | ||
42 | rem *********************************************************** | ||
43 | |||
44 | echo. | ||
45 | echo RETRIEVING SOURCE CODE FROM REPOSITORY... | ||
46 | echo. | ||
47 | |||
48 | svn export https://opende.svn.sourceforge.net/svnroot/opende/branches/%2 ode-%1 | ||
49 | |||
50 | |||
51 | |||
52 | rem *********************************************************** | ||
53 | rem * Prepare source code | ||
54 | rem *********************************************************** | ||
55 | |||
56 | echo. | ||
57 | echo PREPARING SOURCE CODE FROM REPOSITORY... | ||
58 | echo. | ||
59 | |||
60 | cd ode-%1 | ||
61 | copy build\config-default.h include\ode\config.h | ||
62 | |||
63 | cd ode\doc | ||
64 | doxygen | ||
65 | |||
66 | cd ..\..\.. | ||
67 | |||
68 | |||
69 | rem *********************************************************** | ||
70 | rem * Build the binaries | ||
71 | rem *********************************************************** | ||
72 | |||
73 | echo. | ||
74 | echo BUILDING RELEASE BINARIES... | ||
75 | echo. | ||
76 | |||
77 | cd ode-%1\build\vs2003 | ||
78 | devenv.exe ode.sln /build DebugLib /project ode | ||
79 | devenv.exe ode.sln /build DebugDLL /project ode | ||
80 | devenv.exe ode.sln /build ReleaseLib /project ode | ||
81 | devenv.exe ode.sln /build ReleaseDLL /project ode | ||
82 | |||
83 | |||
84 | rem *********************************************************** | ||
85 | rem * Package things up | ||
86 | rem *********************************************************** | ||
87 | |||
88 | cd ..\.. | ||
89 | move lib\ReleaseDLL\ode.lib lib\ReleaseDLL\ode-imports.lib | ||
90 | |||
91 | cd .. | ||
92 | 7z a -tzip ode-win32-%1.zip ode-%1\*.txt ode-%1\include\ode\*.h ode-%1\lib\* ode-%1\docs\* | ||
93 | |||
94 | |||
95 | rem *********************************************************** | ||
96 | rem * Clean up | ||
97 | rem *********************************************************** | ||
98 | |||
99 | echo. | ||
100 | echo CLEANING UP... | ||
101 | echo. | ||
102 | |||
103 | rmdir /s /q ode-%1 | ||
104 | |||
105 | |||
106 | rem *********************************************************** | ||
107 | rem * Upload to SF.net | ||
108 | rem *********************************************************** | ||
109 | |||
110 | echo. | ||
111 | echo Ready to upload package to SourceForce, press ^^C to abort. | ||
112 | pause | ||
113 | ftp -s:ftp_msw_script upload.sourceforge.net | ||
114 | goto done | ||
115 | |||
116 | |||
117 | rem *********************************************************** | ||
118 | rem * Error messages | ||
119 | rem *********************************************************** | ||
120 | |||
121 | :show_usage | ||
122 | echo Usage: msw_release.bat version_number branch_name | ||
123 | goto done | ||
124 | |||
125 | :done | ||
diff --git a/libraries/ode-0.9/tools/src-release.sh b/libraries/ode-0.9/tools/src-release.sh deleted file mode 100644 index 011a96b..0000000 --- a/libraries/ode-0.9/tools/src-release.sh +++ /dev/null | |||
@@ -1,104 +0,0 @@ | |||
1 | #!/bin/sh | ||
2 | ################################################################### | ||
3 | # ODE Source Code Release Script | ||
4 | # Originally written by Jason Perkins (starkos@gmail.com) | ||
5 | # | ||
6 | # Prerequisites: | ||
7 | # svn, zip | ||
8 | ################################################################### | ||
9 | |||
10 | # Check arguments | ||
11 | if [ $# -ne 2 ]; then | ||
12 | echo 1>&2 "Usage: $0 version_number branch_name" | ||
13 | exit 1 | ||
14 | fi | ||
15 | |||
16 | |||
17 | ################################################################### | ||
18 | # Pre-build checklist | ||
19 | ################################################################### | ||
20 | |||
21 | echo "" | ||
22 | echo "STARTING PREBUILD CHECKLIST, PRESS ^^C TO ABORT." | ||
23 | echo "" | ||
24 | echo "Is the version number '$1' correct?" | ||
25 | read line | ||
26 | echo "" | ||
27 | echo "Have you created a release branch named '$2' in SVN?" | ||
28 | read line | ||
29 | echo "" | ||
30 | echo "Have you run all of the tests?" | ||
31 | read line | ||
32 | echo "" | ||
33 | echo "Is the Changelog up to date?" | ||
34 | read line | ||
35 | echo "" | ||
36 | echo "Okay, ready to build the source code package for version $1!" | ||
37 | read line | ||
38 | |||
39 | |||
40 | ################################################################### | ||
41 | # Retrieve source code | ||
42 | ################################################################### | ||
43 | |||
44 | echo "" | ||
45 | echo "RETRIEVING SOURCE CODE FROM REPOSITORY..." | ||
46 | echo "" | ||
47 | f | ||
48 | svn export https://opende.svn.sourceforge.net/svnroot/opende/branches/$2 ode-$1 | ||
49 | |||
50 | |||
51 | ################################################################### | ||
52 | # Prepare source code | ||
53 | ################################################################### | ||
54 | |||
55 | echo "" | ||
56 | echo "PREPARING SOURCE TREE..." | ||
57 | echo "" | ||
58 | |||
59 | cd ode-$1 | ||
60 | chmod 755 autogen.sh | ||
61 | ./autogen.sh | ||
62 | rm -rf autom4te.cache | ||
63 | |||
64 | cp build/config-default.h include/ode/config.h | ||
65 | |||
66 | cd ode/doc | ||
67 | doxygen | ||
68 | |||
69 | cd ../../.. | ||
70 | |||
71 | |||
72 | ################################################################### | ||
73 | # Package source code | ||
74 | ################################################################### | ||
75 | |||
76 | echo "" | ||
77 | echo "PACKAGING SOURCE CODE..." | ||
78 | echo "" | ||
79 | |||
80 | zip -r9 ode-src-$1.zip ode-$1/* | ||
81 | |||
82 | |||
83 | ################################################################### | ||
84 | # Clean up | ||
85 | ################################################################### | ||
86 | |||
87 | echo "" | ||
88 | echo "CLEANING UP..." | ||
89 | echo "" | ||
90 | |||
91 | rm -rf ode-$1 | ||
92 | |||
93 | |||
94 | ##################################################################### | ||
95 | # Send the files to SourceForge | ||
96 | ##################################################################### | ||
97 | |||
98 | echo "" | ||
99 | echo "Upload packages to SourceForge?" | ||
100 | read line | ||
101 | if [ $line = "y" ]; then | ||
102 | echo "Uploading to SourceForge..." | ||
103 | ftp -n upload.sourceforge.net < ftp_src_script | ||
104 | fi | ||