1 ! Copyright (C) 2008 Eduardo Cavazos, Slava Pestov.
2 ! See http://factorcode.org/license.txt for BSD license.
3 USING: system io.files namespaces kernel accessors assocs ;
6 ! (Optional) Location for build directories
9 builds-dir get-global [
10 home "builds" append-path builds-dir set-global
13 ! Who sends build reports.
16 ! Who receives build reports.
17 SYMBOL: builder-recipients
19 ! (Optional) CPU architecture to build for.
22 target-cpu get-global [
23 cpu name>> target-cpu set-global
26 ! (Optional) OS to build for.
29 target-os get-global [
30 os name>> target-os set-global
33 ! Keep test-log around?
38 ! The below are only needed if upload-help is true.
46 ! Directory to upload docs to.
47 SYMBOL: help-directory
49 ! Boolean. Do we release binaries and update the clean branch?
50 SYMBOL: upload-to-factorcode?
52 ! The below are only needed if upload-to-factorcode? is true.
54 ! Host with clean git repo.
58 SYMBOL: branch-username
60 ! Directory with git repo.
61 SYMBOL: branch-directory
63 ! Host to upload clean image to.
67 SYMBOL: image-username
69 ! Directory with clean images.
70 SYMBOL: image-directory
72 ! Host to upload binary package to.
76 SYMBOL: upload-username
78 ! Directory with binary packages.
79 SYMBOL: upload-directory
81 ! Optional: override ssh and scp command names
83 scp-command global [ "scp" or ] change-at
86 ssh-command global [ "ssh" or ] change-at