1 ! Copyright (C) 2008, 2011 Eduardo Cavazos, Slava Pestov.
2 ! See http://factorcode.org/license.txt for BSD license.
3 USING: calendar io.pathnames kernel namespaces system ;
6 ! (Optional) Location for build directories
9 builds-dir get-global [
10 home "builds" append-path builds-dir set-global
13 ! Who sends build report e-mails.
16 ! Who receives build report e-mails.
17 SYMBOL: builder-recipients
19 ! (Optional) CPU architecture to build for.
22 target-cpu get-global [ cpu target-cpu set-global ] unless
24 ! (Optional) OS to build for.
27 target-os get-global [ os target-os set-global ] unless
29 ! (Optional) Architecture variant suffix.
30 SYMBOL: target-variant
32 ! (Optional) Additional bootstrap flags.
35 ! Keep test-log around?
38 ! URL for counter notifications.
41 counter-url [ "https://builds.factorcode.org/counter" ] initialize
43 ! URL for status notifications.
46 status-url [ "https://builds.factorcode.org/status-update" ] initialize
48 ! Password for status notifications.
53 ! The below are only needed if upload-docs? is true.
55 ! Host to upload docs to
61 ! Directory to upload docs to.
62 SYMBOL: docs-directory
64 ! URL to notify server about new docs
65 SYMBOL: docs-update-url
67 docs-update-url [ "https://builds.factorcode.org/docs-update" ] initialize
69 ! Boolean. Do we upload package binaries?
70 SYMBOL: upload-package?
72 ! Host to upload binary package to.
76 SYMBOL: package-username
78 ! Directory with binary packages.
79 SYMBOL: package-directory
81 ! Boolean. Do we update the clean branch?
82 SYMBOL: update-clean-branch?
84 ! The below are only needed if update-clean-branch? is true.
86 ! Host with clean git repo.
90 SYMBOL: branch-username
92 ! Directory with git repo.
93 SYMBOL: branch-directory
95 ! Host to upload clean image to.
99 SYMBOL: image-username
101 ! Directory with clean images.
102 SYMBOL: image-directory
105 SYMBOL: upload-timeout
106 1 hours upload-timeout set-global
108 ! Optional: override ssh and scp command names
110 scp-command [ "scp" ] initialize
113 ssh-command [ "ssh" ] initialize