1 USING: io io.pathnames kernel mason.child mason.config
2 namespaces sequences system tools.test ;
5 [ { "nmake" "/f" "nmakefile" "x86-32" } ] [
9 } [ mason-child-make-cmd ] with-variables
12 [ { "make" "macosx-x86-32" } ] [
16 } [ mason-child-make-cmd ] with-variables
19 ! Must be an absolute path on Windows because launch directory
20 ! is relative to parent directory (instead of current directory).
25 } [ mason-child-boot-cmd ] with-variables first absolute-path?
28 [ [ "Hi" print ] [ drop 3 ] [ 4 ] recover-else ] must-infer
30 [ 4 ] [ [ "Hi" print ] [ drop 3 ] [ 4 ] recover-else ] unit-test
32 [ 3 ] [ [ "Hi" throw ] [ drop 3 ] [ 4 ] recover-else ] unit-test
36 { [ 3 throw ] [ { "X" "Y" "Z" "A" } nth ] }