]> git.ipfire.org Git - thirdparty/cups.git/blob - README.txt
Initial import of CUPS build & test framework
[thirdparty/cups.git] / README.txt
1 README.txt - 2014-11-20
2 -----------------------
3
4 This directory contains an automated build and test environment for CUPS.
5
6
7 ENVIRONMENT
8
9 If present, the buildtest.env file sets additional shell variables for the
10 build and test scripts described below. The following variables are
11 currently supported:
12
13 BUILDOPTIONS - Configure options that are passed to each target
14 BUILDNOTIFY - An email address or URL that specifies where the
15 build log should be sent.
16 BUILDSUBJECT - A string to include in the subject (default is empty
17 string)
18
19
20 SCRIPTS
21
22 The build.sh script builds the current stable branch of CUPS along with
23 trunk, running "make check" in each. Normally you will run the script via
24 a cron job:
25
26 0 0 * * 0 /path/to/build.sh --update --quiet clean all
27 0 0 * * 1-6 /path/to/build.sh --update --quiet
28
29 The "--update" option tells build.sh to do an "svn up" prior to building.
30
31 The "--quiet" option tells build.sh to work quietly and optionally send the
32 build log via email or HTTP POST for recording, automated processing, etc.
33
34 The "clean" and "all" options specify build targets; the default target is
35 "all". In the example above, the first line tells cron to run the script at
36 midnight each day; Sunday (day 0) also does a clean build, while every other
37 day only builds files that have changed.