#!/bin/sh #prototype only. not working code. # this script runs in the background on a build machine and creates a new # build every day at 4am, except on saturday and sunday morning. function perform_build() { #clean out current build completely, except build.ini. #increment build.ini build number. #label build tree in source safe. #check build out of source safe under label. #begin build with gmake # catch errors and send email to me (and eng sw eventually). #if successful build, create share on network based on build number. #and copy build up to network. #autogenerate email to eng sw reporting build. } # loop forever. while 1; do #parse date #if time is between 4:01 and 4:04, then start the build. # perform_build(parms?); sleep 60 # sleep for a minute until it's time to check again. done