Difference between revisions of "How to create a new BOARD18 download"
Jump to navigation
Jump to search
(→Setup the Download on the Server: Initial content) |
(→Perform these steps on your development PC: now uses ./BOARD18make) |
||
Line 6: | Line 6: | ||
==Perform these steps on your development PC== | ==Perform these steps on your development PC== | ||
* | * If necessary, checkout the branch for the required board18 release. | ||
* | * If necessary, checkout the branch for the required gamebox release. | ||
* Start an edit session on the config.sh file in the BOARD18/makedist sub directory. | |||
<pre> | |||
# This file must be updated with the proper parameters before | |||
# BOARD18make is run to create a new BOARD18 distribution. | |||
# Set versionNo to the version number of the new distribution | |||
versionNo="0.2.0" | |||
# Set BD18Root to the root of the BOARD18 directory structure. | |||
BD18Root=~/NetBeansProjects/BOARD18/ | |||
# Set boxesRoot to the boxes directory in the GAMEBOX directory structure. | |||
boxesRoot=~/NetBeansProjects/GAMEBOX/boxes/ | |||
</pre> | |||
* Perform the edits specified in this file as shown above. | |||
* Save the edited file. | |||
* Open a command line window. | * Open a command line window. | ||
* cd to the BOARD18 directory. | * cd to the BOARD18/makedist sub directory. | ||
* Enter on command line: | * Enter on command line: | ||
<pre> | <pre> | ||
./BOARD18make | |||
</pre> | </pre> | ||
* This script should create a zip file in your root directory called something like board18-n.n.n.zip. | |||
* Using FTP, move the new zip file to the download server. | * Using FTP, move the new zip file to the download server. | ||
Revision as of 08:30, 7 January 2014
These instructions assume that you already have a board18 development environment and access to the branch for which the download is to be created.
This procedure really needs to be automated.
The command lines below assumme that a zip file for board18-0.1.0 is being created. This string should be modified to the correct release in all of the listed commands.
Perform these steps on your development PC
- If necessary, checkout the branch for the required board18 release.
- If necessary, checkout the branch for the required gamebox release.
- Start an edit session on the config.sh file in the BOARD18/makedist sub directory.
# This file must be updated with the proper parameters before # BOARD18make is run to create a new BOARD18 distribution. # Set versionNo to the version number of the new distribution versionNo="0.2.0" # Set BD18Root to the root of the BOARD18 directory structure. BD18Root=~/NetBeansProjects/BOARD18/ # Set boxesRoot to the boxes directory in the GAMEBOX directory structure. boxesRoot=~/NetBeansProjects/GAMEBOX/boxes/
- Perform the edits specified in this file as shown above.
- Save the edited file.
- Open a command line window.
- cd to the BOARD18/makedist sub directory.
- Enter on command line:
./BOARD18make
- This script should create a zip file in your root directory called something like board18-n.n.n.zip.
- Using FTP, move the new zip file to the download server.
Setup the Download on the BOARD18 WIKI
- Go to the BOARD18 WIKI.
- Upload the newly created zip file into the wiki.
- Edit the Download BOARD18 page and add the new release.