2010-04-17 15:51:29 -04:00
|
|
|
! Copyright (C) 2008, 2010 Eduardo Cavazos, Slava Pestov.
|
2008-09-16 00:20:33 -04:00
|
|
|
! See http://factorcode.org/license.txt for BSD license.
|
2008-12-15 02:13:35 -05:00
|
|
|
USING: system io.files io.pathnames namespaces kernel accessors
|
|
|
|
assocs ;
|
2008-09-16 00:20:33 -04:00
|
|
|
IN: mason.config
|
|
|
|
|
|
|
|
! (Optional) Location for build directories
|
|
|
|
SYMBOL: builds-dir
|
|
|
|
|
|
|
|
builds-dir get-global [
|
|
|
|
home "builds" append-path builds-dir set-global
|
|
|
|
] unless
|
|
|
|
|
2009-04-17 21:59:59 -04:00
|
|
|
! Who sends build report e-mails.
|
2008-09-16 00:20:33 -04:00
|
|
|
SYMBOL: builder-from
|
|
|
|
|
2009-04-17 21:59:59 -04:00
|
|
|
! Who receives build report e-mails.
|
2008-09-16 00:20:33 -04:00
|
|
|
SYMBOL: builder-recipients
|
|
|
|
|
|
|
|
! (Optional) CPU architecture to build for.
|
|
|
|
SYMBOL: target-cpu
|
|
|
|
|
|
|
|
target-cpu get-global [
|
|
|
|
cpu name>> target-cpu set-global
|
|
|
|
] unless
|
|
|
|
|
|
|
|
! (Optional) OS to build for.
|
|
|
|
SYMBOL: target-os
|
|
|
|
|
|
|
|
target-os get-global [
|
|
|
|
os name>> target-os set-global
|
|
|
|
] unless
|
|
|
|
|
|
|
|
! Keep test-log around?
|
|
|
|
SYMBOL: builder-debug
|
|
|
|
|
2010-09-04 20:59:18 -04:00
|
|
|
! URL for counter notifications.
|
|
|
|
SYMBOL: counter-url
|
|
|
|
|
|
|
|
counter-url [ "http://builds.factorcode.org/counter" ] initialize
|
|
|
|
|
2010-04-17 15:51:29 -04:00
|
|
|
! URL for status notifications.
|
|
|
|
SYMBOL: status-url
|
2009-04-17 21:59:59 -04:00
|
|
|
|
2010-09-04 20:59:18 -04:00
|
|
|
status-url [ "http://builds.factorcode.org/status-update" ] initialize
|
|
|
|
|
2010-04-17 15:51:29 -04:00
|
|
|
! Password for status notifications.
|
|
|
|
SYMBOL: status-secret
|
2009-04-17 21:59:59 -04:00
|
|
|
|
2008-11-16 12:29:35 -05:00
|
|
|
SYMBOL: upload-help?
|
|
|
|
|
|
|
|
! The below are only needed if upload-help is true.
|
|
|
|
|
|
|
|
! Host with HTML help
|
|
|
|
SYMBOL: help-host
|
|
|
|
|
|
|
|
! Username to log in.
|
|
|
|
SYMBOL: help-username
|
|
|
|
|
|
|
|
! Directory to upload docs to.
|
|
|
|
SYMBOL: help-directory
|
|
|
|
|
2008-09-16 00:20:33 -04:00
|
|
|
! Boolean. Do we release binaries and update the clean branch?
|
2008-11-16 12:29:35 -05:00
|
|
|
SYMBOL: upload-to-factorcode?
|
2008-09-16 00:20:33 -04:00
|
|
|
|
2008-11-16 12:29:35 -05:00
|
|
|
! The below are only needed if upload-to-factorcode? is true.
|
2008-09-16 00:20:33 -04:00
|
|
|
|
|
|
|
! Host with clean git repo.
|
|
|
|
SYMBOL: branch-host
|
|
|
|
|
|
|
|
! Username to log in.
|
|
|
|
SYMBOL: branch-username
|
|
|
|
|
|
|
|
! Directory with git repo.
|
|
|
|
SYMBOL: branch-directory
|
|
|
|
|
|
|
|
! Host to upload clean image to.
|
|
|
|
SYMBOL: image-host
|
|
|
|
|
|
|
|
! Username to log in.
|
|
|
|
SYMBOL: image-username
|
|
|
|
|
|
|
|
! Directory with clean images.
|
|
|
|
SYMBOL: image-directory
|
|
|
|
|
|
|
|
! Host to upload binary package to.
|
|
|
|
SYMBOL: upload-host
|
|
|
|
|
|
|
|
! Username to log in.
|
|
|
|
SYMBOL: upload-username
|
|
|
|
|
|
|
|
! Directory with binary packages.
|
|
|
|
SYMBOL: upload-directory
|
2008-11-24 17:49:50 -05:00
|
|
|
|
|
|
|
! Optional: override ssh and scp command names
|
|
|
|
SYMBOL: scp-command
|
2009-02-10 17:16:12 -05:00
|
|
|
scp-command [ "scp" ] initialize
|
2008-11-24 17:49:50 -05:00
|
|
|
|
|
|
|
SYMBOL: ssh-command
|
2009-02-10 17:16:12 -05:00
|
|
|
ssh-command [ "ssh" ] initialize
|