Fix webapps.mason breakage
parent
e04b0acdcd
commit
67c57417d7
|
@ -5,11 +5,10 @@ mason.config bootstrap.image assocs ;
|
||||||
IN: mason.platform
|
IN: mason.platform
|
||||||
|
|
||||||
: (platform) ( os cpu -- string )
|
: (platform) ( os cpu -- string )
|
||||||
[ name>> ] bi@
|
|
||||||
{ { CHAR: . CHAR: - } } substitute "-" glue ;
|
{ { CHAR: . CHAR: - } } substitute "-" glue ;
|
||||||
|
|
||||||
: platform ( -- string )
|
: platform ( -- string )
|
||||||
target-os get target-cpu get (platform) ;
|
target-os get name>> target-cpu get name>> (platform) ;
|
||||||
|
|
||||||
: gnu-make ( -- string )
|
: gnu-make ( -- string )
|
||||||
target-os get { freebsd openbsd netbsd } member? "gmake" "make" ? ;
|
target-os get { freebsd openbsd netbsd } member? "gmake" "make" ? ;
|
||||||
|
|
Loading…
Reference in New Issue