update deploy backends not to include dll in deployed apps

release
Joe Groff 2010-04-01 14:26:56 -07:00
parent 6d8c30ad98
commit 6fdba565a1
2 changed files with 3 additions and 12 deletions

View File

@ -34,9 +34,6 @@ IN: tools.deploy.macosx
"Contents/Info.plist" append-path
write-plist ;
: copy-dll ( bundle-name -- )
"Frameworks/libfactor.dylib" copy-bundle-dir ;
: copy-nib ( bundle-name -- )
deploy-ui? get [
"Resources/English.lproj/MiniFactor.nib" copy-bundle-dir
@ -50,11 +47,9 @@ IN: tools.deploy.macosx
: create-app-dir ( vocab bundle-name -- vm )
{
[
nip {
[ copy-dll ]
[ copy-nib ]
[ "Contents/Resources" append-path make-directories ]
} cleave
nip
[ copy-nib ]
[ "Contents/Resources" append-path make-directories ] bi
]
[ copy-icns ]
[ create-app-plist ]

View File

@ -11,16 +11,12 @@ IN: tools.deploy.windows
CONSTANT: app-icon-resource-id "APPICON"
: copy-dll ( bundle-name -- )
"resource:factor.dll" swap copy-file-into ;
:: copy-vm ( executable bundle-name extension -- vm )
vm "." split1-last drop extension append
bundle-name executable ".exe" append append-path
[ copy-file ] keep ;
: create-exe-dir ( vocab bundle-name -- vm )
dup copy-dll
deploy-console? get ".com" ".exe" ? copy-vm ;
: open-in-explorer ( dir -- )