builder: add factor-binary word
parent
1f66e8173f
commit
bd2226d89e
|
@ -1,7 +1,8 @@
|
||||||
|
|
||||||
USING: kernel io io.files io.launcher hashtables tools.deploy.backend
|
USING: kernel io io.files io.launcher hashtables tools.deploy.backend
|
||||||
system continuations namespaces sequences splitting math.parser
|
system continuations namespaces sequences splitting math.parser
|
||||||
prettyprint tools.time calendar bake vars http.client ;
|
prettyprint tools.time calendar bake vars http.client
|
||||||
|
combinators ;
|
||||||
|
|
||||||
IN: builder
|
IN: builder
|
||||||
|
|
||||||
|
@ -39,6 +40,15 @@ SYMBOL: builder-recipients
|
||||||
|
|
||||||
! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
|
! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
|
||||||
|
|
||||||
|
: factor-binary ( -- name )
|
||||||
|
os
|
||||||
|
{ { "macosx" [ "./Factor.app/Contents/MacOS/factor" ] }
|
||||||
|
{ "windows" [ "./factor-nt.exe" ] }
|
||||||
|
[ drop "./factor" ] }
|
||||||
|
case ;
|
||||||
|
|
||||||
|
! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
|
||||||
|
|
||||||
VAR: stamp
|
VAR: stamp
|
||||||
|
|
||||||
! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
|
! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
|
||||||
|
@ -92,7 +102,7 @@ VAR: stamp
|
||||||
|
|
||||||
`{
|
`{
|
||||||
{ +arguments+ {
|
{ +arguments+ {
|
||||||
"./factor"
|
,[ factor-binary ]
|
||||||
,[ "-i=" boot-image-name append ]
|
,[ "-i=" boot-image-name append ]
|
||||||
"-no-user-init"
|
"-no-user-init"
|
||||||
} }
|
} }
|
||||||
|
@ -110,7 +120,8 @@ VAR: stamp
|
||||||
] if
|
] if
|
||||||
|
|
||||||
`{
|
`{
|
||||||
{ +arguments+ { "./factor" "-e=USE: tools.browser load-everything" } }
|
{ +arguments+
|
||||||
|
{ ,[ factor-binary ] "-e=USE: tools.browser load-everything" } }
|
||||||
{ +stdout+ "../load-everything-log" }
|
{ +stdout+ "../load-everything-log" }
|
||||||
{ +stderr+ +stdout+ }
|
{ +stderr+ +stdout+ }
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue