1 ! Copyright (C) 2008 Eduardo Cavazos, Slava Pestov.
2 ! See http://factorcode.org/license.txt for BSD license.
3 USING: system io.files io.pathnames namespaces kernel accessors
7 ! (Optional) Location for build directories
10 builds-dir get-global [
11 home "builds" append-path builds-dir set-global
14 ! Who sends build reports.
17 ! Who receives build reports.
18 SYMBOL: builder-recipients
20 ! (Optional) CPU architecture to build for.
23 target-cpu get-global [
24 cpu name>> target-cpu set-global
27 ! (Optional) OS to build for.
30 target-os get-global [
31 os name>> target-os set-global
34 ! Keep test-log around?
39 ! The below are only needed if upload-help is true.
47 ! Directory to upload docs to.
48 SYMBOL: help-directory
50 ! Boolean. Do we release binaries and update the clean branch?
51 SYMBOL: upload-to-factorcode?
53 ! The below are only needed if upload-to-factorcode? is true.
55 ! Host with clean git repo.
59 SYMBOL: branch-username
61 ! Directory with git repo.
62 SYMBOL: branch-directory
64 ! Host to upload clean image to.
68 SYMBOL: image-username
70 ! Directory with clean images.
71 SYMBOL: image-directory
73 ! Host to upload binary package to.
77 SYMBOL: upload-username
79 ! Directory with binary packages.
80 SYMBOL: upload-directory
82 ! Optional: override ssh and scp command names
84 scp-command global [ "scp" or ] change-at
87 ssh-command global [ "ssh" or ] change-at