Merge branch 'master' of git://factorcode.org/git/factor
commit
bfd76b41c8
|
@ -12,6 +12,7 @@ Factor/factor
|
||||||
*.res
|
*.res
|
||||||
*.RES
|
*.RES
|
||||||
*.image
|
*.image
|
||||||
|
factor.image.fresh
|
||||||
*.dylib
|
*.dylib
|
||||||
factor
|
factor
|
||||||
factor.com
|
factor.com
|
||||||
|
|
|
@ -332,7 +332,7 @@ M: x11-ui-backend beep ( -- )
|
||||||
[ dup CHAR: ' = [ drop "'\\''" ] [ 1string ] if ] { } map-as concat ;
|
[ dup CHAR: ' = [ drop "'\\''" ] [ 1string ] if ] { } map-as concat ;
|
||||||
|
|
||||||
: xmessage ( string -- )
|
: xmessage ( string -- )
|
||||||
escape-' "/usr/X11R6/bin/xmessage '" "'" surround system drop ;
|
escape-' "/usr/bin/env xmessage '" "'" surround system drop ;
|
||||||
PRIVATE>
|
PRIVATE>
|
||||||
|
|
||||||
M: x11-ui-backend system-alert
|
M: x11-ui-backend system-alert
|
||||||
|
|
|
@ -25,7 +25,8 @@ test_program_installed() {
|
||||||
|
|
||||||
exit_script() {
|
exit_script() {
|
||||||
if [[ $FIND_MAKE_TARGET -eq true ]] ; then
|
if [[ $FIND_MAKE_TARGET -eq true ]] ; then
|
||||||
$ECHO $MAKE_TARGET;
|
# Must be echo not $ECHO
|
||||||
|
echo $MAKE_TARGET;
|
||||||
fi
|
fi
|
||||||
exit $1
|
exit $1
|
||||||
}
|
}
|
||||||
|
|
|
@ -0,0 +1 @@
|
||||||
|
Doug Coleman
|
|
@ -0,0 +1,6 @@
|
||||||
|
! Copyright (C) 2010 Doug Coleman.
|
||||||
|
! See http://factorcode.org/license.txt for BSD license.
|
||||||
|
USING: build-support sequences tools.test ;
|
||||||
|
IN: build-support.tests
|
||||||
|
|
||||||
|
[ f ] [ factor.sh-make-target empty? ] unit-test
|
|
@ -0,0 +1,10 @@
|
||||||
|
! Copyright (C) 2010 Doug Coleman.
|
||||||
|
! See http://factorcode.org/license.txt for BSD license.
|
||||||
|
USING: arrays io io.backend io.encodings.utf8 io.launcher ;
|
||||||
|
IN: build-support
|
||||||
|
|
||||||
|
CONSTANT: factor.sh-path "resource:build-support/factor.sh"
|
||||||
|
|
||||||
|
: factor.sh-make-target ( -- string )
|
||||||
|
factor.sh-path normalize-path "make-target" 2array
|
||||||
|
utf8 [ readln ] with-process-reader ;
|
|
@ -0,0 +1 @@
|
||||||
|
unix
|
Loading…
Reference in New Issue