Merge branch 'master' of git://factorcode.org/git/factor
commit
c4ec98fe0f
|
@ -65,12 +65,6 @@ IN: builder
|
||||||
|
|
||||||
! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
|
! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
|
||||||
|
|
||||||
! : factor-binary ( -- name )
|
|
||||||
! os "macosx" =
|
|
||||||
! [ "./Factor.app/Contents/MacOS/factor" ]
|
|
||||||
! [ "./factor" ]
|
|
||||||
! if ;
|
|
||||||
|
|
||||||
: bootstrap-cmd ( -- cmd )
|
: bootstrap-cmd ( -- cmd )
|
||||||
{ "./factor" { "-i=" my-boot-image-name } "-no-user-init" } to-strings ;
|
{ "./factor" { "-i=" my-boot-image-name } "-no-user-init" } to-strings ;
|
||||||
|
|
||||||
|
@ -146,7 +140,11 @@ SYMBOL: build-status
|
||||||
|
|
||||||
show-benchmark-deltas
|
show-benchmark-deltas
|
||||||
|
|
||||||
"../benchmarks" "../../benchmarks" copy-file
|
"../benchmarks" "../../benchmarks" copy-file
|
||||||
|
|
||||||
|
".." cd
|
||||||
|
|
||||||
|
maybe-release
|
||||||
|
|
||||||
] with-file-writer
|
] with-file-writer
|
||||||
|
|
||||||
|
@ -167,7 +165,7 @@ SYMBOL: builder-recipients
|
||||||
builder-from get >>from
|
builder-from get >>from
|
||||||
builder-recipients get >>to
|
builder-recipients get >>to
|
||||||
subject >>subject
|
subject >>subject
|
||||||
"../report" file>string >>body
|
"./report" file>string >>body
|
||||||
send ;
|
send ;
|
||||||
|
|
||||||
! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
|
! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
|
||||||
|
@ -176,11 +174,11 @@ SYMBOL: builder-recipients
|
||||||
{ "bzip2" my-boot-image-name } to-strings run-process drop ;
|
{ "bzip2" my-boot-image-name } to-strings run-process drop ;
|
||||||
|
|
||||||
: build ( -- )
|
: build ( -- )
|
||||||
[ (build) ] [ drop ] recover
|
[ (build) ] failsafe
|
||||||
build-status get [ maybe-release ] when
|
builds cd stamp> cd
|
||||||
[ send-builder-email ] [ drop "not sending mail" . ] recover
|
[ send-builder-email ] [ drop "not sending mail" . ] recover
|
||||||
".." cd { "rm" "-rf" "factor" } run-process drop
|
{ "rm" "-rf" "factor" } run-process drop
|
||||||
[ compress-image ] [ drop ] recover ;
|
[ compress-image ] failsafe ;
|
||||||
|
|
||||||
! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
|
! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
|
||||||
|
|
||||||
|
@ -215,8 +213,7 @@ USE: bootstrap.image.download
|
||||||
[ build ]
|
[ build ]
|
||||||
when
|
when
|
||||||
]
|
]
|
||||||
[ drop ]
|
failsafe
|
||||||
recover
|
|
||||||
5 minutes sleep
|
5 minutes sleep
|
||||||
build-loop ;
|
build-loop ;
|
||||||
|
|
||||||
|
|
|
@ -64,6 +64,8 @@ USING: system sequences splitting ;
|
||||||
|
|
||||||
: linux-release ( -- )
|
: linux-release ( -- )
|
||||||
|
|
||||||
|
"factor" cd
|
||||||
|
|
||||||
{ "rm" "-rf" "Factor.app" } run-process drop
|
{ "rm" "-rf" "Factor.app" } run-process drop
|
||||||
|
|
||||||
{ "rm" "-rf" common-files } to-strings run-process drop
|
{ "rm" "-rf" common-files } to-strings run-process drop
|
||||||
|
@ -78,6 +80,8 @@ USING: system sequences splitting ;
|
||||||
|
|
||||||
: windows-release ( -- )
|
: windows-release ( -- )
|
||||||
|
|
||||||
|
"factor" cd
|
||||||
|
|
||||||
{ "rm" "-rf" "Factor.app" } run-process drop
|
{ "rm" "-rf" "Factor.app" } run-process drop
|
||||||
|
|
||||||
{ "rm" "-rf" common-files } to-strings run-process drop
|
{ "rm" "-rf" common-files } to-strings run-process drop
|
||||||
|
@ -92,6 +96,8 @@ USING: system sequences splitting ;
|
||||||
|
|
||||||
: macosx-release ( -- )
|
: macosx-release ( -- )
|
||||||
|
|
||||||
|
"factor" cd
|
||||||
|
|
||||||
{ "rm" "-rf" common-files } to-strings run-process drop
|
{ "rm" "-rf" common-files } to-strings run-process drop
|
||||||
|
|
||||||
".." cd
|
".." cd
|
||||||
|
|
|
@ -104,4 +104,8 @@ USING: bootstrap.image bootstrap.image.download io.streams.null ;
|
||||||
|
|
||||||
USE: prettyprint
|
USE: prettyprint
|
||||||
|
|
||||||
: to-file ( object file -- ) [ . ] with-file-writer ;
|
: to-file ( object file -- ) [ . ] with-file-writer ;
|
||||||
|
|
||||||
|
! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
|
||||||
|
|
||||||
|
: failsafe ( quot -- ) [ drop ] recover ;
|
Loading…
Reference in New Issue