tools.deploy.macosx: tweak bundle vs exe logic
Must deploy an app bundle if the UI is used.
parent
2f18ad5e5e
commit
59572eaad3
|
|
@ -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 ;
|
||||
|
|
|
|||
Loading…
Reference in New Issue