| Copyright 2010 Castle Technology Ltd | | Licensed under the Apache License, Version 2.0 (the "License"); | you may not use this file except in compliance with the License. | You may obtain a copy of the License at | | http://www.apache.org/licenses/LICENSE-2.0 | | Unless required by applicable law or agreed to in writing, software | distributed under the License is distributed on an "AS IS" BASIS, | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | See the License for the specific language governing permissions and | limitations under the License. | | If there is no ROM image (e.g. the build failed), exit here IfThere .Images. Then Else Obey | Run our clean script Run .clean | Create an empty directory to hold the files that will be zipped up CDir .zip | Copy the Castle licence file into the zip directory Copy ab_res:Licence_v1/pdf .zip.Licence_v1/pdf ~cf~r~v | Copy the ReadMe for this build into the zip directory Copy ab_res:ReadMe/txt .zip.ReadMe/txt ~cf~r~v | Copy the ROM image into the zip directory Copy .Images. .zip.riscos ~cf~r~v | Copy !SDCreate into the zip directory CDir .zip.!SDCreate CDir .zip.!SDCreate.scripts CDir .zip.!SDCreate.scripts.source Copy ab_res:!SDCreate.!Boot .zip.!SDCreate.!Boot ~cf~r~v Copy ab_res:!SDCreate.!Help .zip.!SDCreate.!Help ~cf~r~v Copy ab_res:!SDCreate.!Run .zip.!SDCreate.!Run ~cf~r~v Copy ab_res:!SDCreate.!Sprites .zip.!SDCreate.!Sprites ~cf~r~v Copy ab_res:!SDCreate.!Sprites22 .zip.!SDCreate.!Sprites22 ~cf~r~v Copy ab_res:!SDCreate.blank .zip.!SDCreate.blank ~cf~r~v Copy ab_res:!SDCreate.Desc .zip.!SDCreate.Desc ~cf~r~v Copy ab_res:!SDCreate.Messages .zip.!SDCreate.Messages ~cf~r~v Copy ab_res:!SDCreate.SDCreate .zip.!SDCreate.SDCreate ~cf~r~v Copy ab_res:!SDCreate.Templates .zip.!SDCreate.Templates ~cf~r~v Copy ab_res:!SDCreate.scripts.BeagleBoard/scr .zip.!SDCreate.scripts.BeagleBoard/scr ~cf~r~v Copy ab_res:!SDCreate.scripts.DevKit8000/scr .zip.!SDCreate.scripts.DevKit8000/scr ~cf~r~v Copy ab_res:!SDCreate.scripts.IGEPv2/ini .zip.!SDCreate.scripts.IGEPv2/ini ~cf~r~v Copy ab_res:!SDCreate.scripts.Pandora/scr .zip.!SDCreate.scripts.Pandora/scr ~cf~r~v Copy ab_res:!SDCreate.scripts.source.beagle .zip.!SDCreate.scripts.source.beagle ~cf~r~v Copy ab_res:!SDCreate.scripts.source.convert .zip.!SDCreate.scripts.source.convert ~cf~r~v Copy ab_res:!SDCreate.scripts.source.devkit .zip.!SDCreate.scripts.source.devkit ~cf~r~v Copy ab_res:!SDCreate.scripts.source.igep .zip.!SDCreate.scripts.source.igep ~cf~r~v Copy ab_res:!SDCreate.scripts.source.pandora .zip.!SDCreate.scripts.source.pandora ~cf~r~v | Set the zip directory as the current directory Dir .zip | Create a zip archive with the required files in it Do zip -9qr ^. * | Return the CSD to its original state Back | Delete any pre-existing zip archive on the autobuild server Remove | Copy the template zip archive onto the autobuild server SetType . &A91 Copy . ~cfr~v Access rw/r