tools.deploy.macosx: tweak bundle vs exe logic

Must deploy an app bundle if the UI is used.
db4
Joe Groff 2011-11-21 13:09:54 -08:00
parent d9a9155a80
commit ec1b49fe51
1 changed files with 4 additions and 1 deletions

View File

@ -84,8 +84,11 @@ IN: tools.deploy.macosx
] bind
] with-directory ;
: deploy-app-bundle? ( -- ? )
deploy-console? get not deploy-ui? get or ;
M: macosx deploy* ( vocab -- )
! pass off to M: unix deploy* if we're building a console app
deploy-console? get
deploy-app-bundle?
[ call-next-method ]
[ deploy-app-bundle ] if ;